Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joachim Bieler Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Color caption in bBrowser Date: Tue, 25 Oct 2011 07:31:30 +0200 Lines: 51 Message-ID: <9gmvslFf5bU1@mid.individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 22c3X2PssLCzvPkQFIb23w6Ob1f9OuAPw0rQhUHvC9f7yz9jjP Cancel-Lock: sha1:HUIHJV74KbGLj5zQu6yKVxUbbL0= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2324 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 > > >