Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.clipper.visual-objects

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2011, 08:54 AM
John Gosub
Guest
 
Posts: n/a
Default How Can I Put Two Lines of data Manually in a multi line Row in bBrowser

Hello to all, I am using bBrowser 3, VO 2.8 and Win 7 and I am trying
to display two lines of data in a multi line row in a browser, line1
data + _Chr(13) + line2 data even if I PadR with spaces the length of
the field for line1 data and then add line2 data it still don't work.
Can anyone help me with some ideas please!

John Gosub
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 02-02-2011, 09:29 AM
Stephen Quinn
Guest
 
Posts: n/a
Default Re: How Can I Put Two Lines of data Manually in a multi line Row in bBrowser

John

> Can anyone help me with some ideas please!


Take a look at the demos in bBrowser.
There's one that shows newspaper stats IIRC.
You probably won't achieve what you want using normal bDataColumns and
FieldSpecs

CYA
Steve


Reply With Quote
  #3 (permalink)  
Old 02-02-2011, 10:38 AM
Johan Nel
Guest
 
Posts: n/a
Default Re: How Can I Put Two Lines of data Manually in a multi line Row in bBrowser

John,

Some time since I played with bBrowser, however are you not suppose to
do _Chr(13) + _Chr(10)?

Regards,

Johan Nel
Pretoria, South Africa.

On Feb 2, 11:54*am, John Gosub <ser...@tstt.net.tt> wrote:
> Hello to all, I am using bBrowser 3, VO 2.8 and Win 7 and I am trying
> to display two lines of data in a multi line row in a browser, line1
> data + _Chr(13) + line2 data even if I PadR with spaces the length of
> the field for line1 data and then add line2 data it still don't work.
> Can anyone help me with some ideas please!
>
> John Gosub


Reply With Quote
  #4 (permalink)  
Old 02-02-2011, 12:32 PM
Martin
Guest
 
Posts: n/a
Default Re: How Can I Put Two Lines of data Manually in a multi line Rowin bBrowser

You will need to use a bCompoundValue for the cell

On 02/02/2011 09:54, John Gosub wrote:
> Hello to all, I am using bBrowser 3, VO 2.8 and Win 7 and I am trying
> to display two lines of data in a multi line row in a browser, line1
> data + _Chr(13) + line2 data even if I PadR with spaces the length of
> the field for line1 data and then add line2 data it still don't work.
> Can anyone help me with some ideas please!
>
> John Gosub


Reply With Quote
  #5 (permalink)  
Old 02-02-2011, 01:27 PM
Roger Lawton
Guest
 
Posts: n/a
Default Re: How Can I Put Two Lines of data Manually in a multi line Row in bBrowser

John:

If I understand you correctly you just want to be able to show two lines of
data (separated by a _CHR(13)) in the cell. We do this in alot of our
bBrowsers. You need to set the HEIGHTVARIABLE propert to BACTIVE and then
set the DATAVIEW property to a ViewStyle that has the BVO_LINEBREAK option.

For example:

oColumn = Self:bBrowser:GetColumn(yourcolumn)
oViewStyle := oColumn:ViewStyle
wOptions := oViewStyle:Options

wOptions += BVO_LINEBREAK
oColumn:HeightVariable := BACTIVE
oColumn:ViewStyle := oViewStyle
Self:bBrowser:Recalculate()

HTH


--
Roger Lawton
Product Manager
SOMAX, Inc.
770-518-1514 Ext. 14




"John Gosub" <servia@tstt.net.tt> wrote in message
news:aa3ae7e3-bb7e-4535-9590-724198d75673@k7g2000yqj.googlegroups.com...
> Hello to all, I am using bBrowser 3, VO 2.8 and Win 7 and I am trying
> to display two lines of data in a multi line row in a browser, line1
> data + _Chr(13) + line2 data even if I PadR with spaces the length of
> the field for line1 data and then add line2 data it still don't work.
> Can anyone help me with some ideas please!
>
> John Gosub


Reply With Quote
  #6 (permalink)  
Old 02-02-2011, 06:10 PM
John Gosub
Guest
 
Posts: n/a
Default Re: How Can I Put Two Lines of data Manually in a multi line Row in bBrowser

On Feb 2, 10:27*am, "Roger Lawton" <nspro...@nspsomax.com> wrote:
> John:
>
> If I understand you correctly you just want to be able to show two lines of
> data (separated by a _CHR(13)) in the cell. *We do this in alot of our
> bBrowsers. *You need to set the HEIGHTVARIABLE propert to BACTIVE and then
> set the DATAVIEW property to a ViewStyle that has the BVO_LINEBREAK option.
>
> For example:
>
> oColumn = Self:bBrowser:GetColumn(yourcolumn)
> oViewStyle := oColumn:ViewStyle
> wOptions := oViewStyle:Options
>
> wOptions += BVO_LINEBREAK
> oColumn:HeightVariable := BACTIVE
> oColumn:ViewStyle := oViewStyle
> Self:bBrowser:Recalculate()
>
> HTH
>
> --
> Roger Lawton
> Product Manager
> SOMAX, Inc.
> 770-518-1514 Ext. 14
>
> "John Gosub" <ser...@tstt.net.tt> wrote in message
>
> news:aa3ae7e3-bb7e-4535-9590-724198d75673@k7g2000yqj.googlegroups.com...
>
>
>
> > Hello to all, I am using bBrowser 3, VO 2.8 and Win 7 and I am trying
> > to display two lines of data in a multi line row in a browser, line1
> > data + _Chr(13) + line2 data even if I PadR with spaces the length of
> > the field for line1 data and then add line2 data it still don't work.
> > Can anyone help me with some ideas please!

>
> > John Gosub- Hide quoted text -

>
> - Show quoted text -


One million thanks to you all, I got it!

John Gosub
Reply With Quote
  #7 (permalink)  
Old 02-02-2011, 09:03 PM
Geoff Schaller
Guest
 
Posts: n/a
Default Re: How Can I Put Two Lines of data Manually in a multi line Row in bBrowser

NO. You do not.

Please look at the samples.



"Martin" <spam@spam.spam> wrote in message
news:q1d2p.41776$Ww7.6241@newsfe16.ams2:

> You will need to use a bCompoundValue for the cell
>
> On 02/02/2011 09:54, John Gosub wrote:
>
> > Hello to all, I am using bBrowser 3, VO 2.8 and Win 7 and I am trying
> > to display two lines of data in a multi line row in a browser, line1
> > data + _Chr(13) + line2 data even if I PadR with spaces the length of
> > the field for line1 data and then add line2 data it still don't work.
> > Can anyone help me with some ideas please!
> >
> > John Gosub


Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:49 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.