Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #2276 > unrolled thread
| Started by | Lu <lu2k@hotmail.com> |
|---|---|
| First post | 2011-10-13 04:16 -0700 |
| Last post | 2011-10-25 07:31 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Color caption in bBrowser Lu <lu2k@hotmail.com> - 2011-10-13 04:16 -0700
Re: Color caption in bBrowser "Willie Moore" <williem@wmconsulting.com> - 2011-10-13 07:13 -0500
Re: Color caption in bBrowser Lu <lu2k@hotmail.com> - 2011-10-13 06:30 -0700
Re: Color caption in bBrowser Joachim Bieler <support@votools.com> - 2011-10-25 07:31 +0200
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2011-10-13 04:16 -0700 |
| Subject | Color caption in bBrowser |
| Message-ID | <feaf1682-ce2b-4f48-aa12-3bacd78c5f7f@v15g2000vbm.googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-10-13 07:13 -0500 |
| Message-ID | <j76kld$5i1$1@speranza.aioe.org> |
| In reply to | #2276 |
Lu,
You might want to experiment with the AlphaBlend. That is something that
changed between bBrowser 1.5 and 3.
SELF:oDCbBrowser1:AlphaBlendRatio := 100 // solid
Regards,
Willie
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2011-10-13 06:30 -0700 |
| Message-ID | <10d3160d-aff6-4274-beed-714346e5550c@v7g2000yqf.googlegroups.com> |
| In reply to | #2277 |
Hi Willi! Thank you for your quick response. I set the AlphablendRatio already to solid but this did not solve the problem with the "not separation of the columns" in the captions row. Any other hints?? Lu
[toc] | [prev] | [next] | [standalone]
| From | Joachim Bieler <support@votools.com> |
|---|---|
| Date | 2011-10-25 07:31 +0200 |
| Message-ID | <9gmvslFf5bU1@mid.individual.net> |
| In reply to | #2276 |
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
>
>
>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web