|
|||
|
Hi VO experts!
Since I changed from VO 2.7 and bBrowser 1.5 to VO 2.8 and bBrowser 3 the caption row is completely colored with no lines between the columns. In VO 2.7 there are vertical lines between the columns and it is better to read. The grid is set to Auto and the Grid in Empty Area is set to TRUE. The code for coloring the caption ist following: oColumn := oBrowser:GetColumn("Ank") IF oColumn <> NULL_OBJECT oColumn:Alignment := BALIGN_CENTER oColumn:Caption := "Ank" oColumn:CaptionView := bViewStyle{Color{COLORBLACK},Brush{cFarbe},BALIGN_ CENTER,,} oColumn:Width := 36 ENDIF oBrowser:Recalculate() oBrowser:Redraw() I noticed if the bBrowser is set to disable the color ist gone and the vertical lines are visible. Has somebody an idea how do I get the vertical lines back? Lu |
|
|
||||
|
||||
|
|
|
|||
|
Hi Lu,
did you have the same problem with one of the bBrowser sample application (e.g. 'bSample - FieldChoice.aef'), if you adapt this application with your code? I have do this and can't see any problems. Does the problem exist if you add the following code to your application? oBrowser:AlphaBlendRatio := BABR_NONE oBrowser:Redraw() Can you send me a screen shot of the problematic bBrowser? Regards, Joachim Bieler Am 13.10.2011 13:16, schrieb Lu: > Hi VO experts! > > Since I changed from VO 2.7 and bBrowser 1.5 to VO 2.8 and bBrowser 3 > the caption row is completely colored with no lines between the > columns. In VO 2.7 there are vertical lines between the columns and it > is better to read. > > The grid is set to Auto and the Grid in Empty Area is set to TRUE. > > The code for coloring the caption ist following: > > oColumn := oBrowser:GetColumn("Ank") > IF oColumn<> NULL_OBJECT > oColumn:Alignment := BALIGN_CENTER > oColumn:Caption := "Ank" > oColumn:CaptionView := > bViewStyle{Color{COLORBLACK},Brush{cFarbe},BALIGN_ CENTER,,} > oColumn:Width := 36 > ENDIF > > oBrowser:Recalculate() > oBrowser:Redraw() > > I noticed if the bBrowser is set to disable the color ist gone and the > vertical lines are visible. > > Has somebody an idea how do I get the vertical lines back? > > Lu > > > |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|