|
|||
|
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 |
|
|
||||
|
||||
|
|
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|