xsharp.eu • bBrowser colour issue (very simple I'm sure)
Page 1 of 1

bBrowser colour issue (very simple I'm sure)

Posted: Sun Dec 08, 2019 6:17 am
by Anonymous
Hi guys, try as I might, and several hours reading the bBrowser samples and manuals, I can't work this last part out. What settings and how do I need to set to change the colours for Area 1 and area 2 in the attached screen shot please? Of course Area 2 applies to all group bands... not just the one marked..
Accounts.JPG
Accounts.JPG (87.93 KiB) Viewed 376 times
Thank you as usual :)

bBrowser colour issue (very simple I'm sure)

Posted: Sun Dec 29, 2019 12:16 pm
by BiggyRat
No one has any ideas at all?

bBrowser colour issue (very simple I'm sure)

Posted: Sun Dec 29, 2019 5:13 pm
by Joachim Bieler
The bBrowser has no access to define the color for Area1. Instead, it can be defined with the property #RecordGroupCaptionBackground. See the following code:

Code: Select all

oBrowser:PropertyPut(#RecordGroupCaptionBackground, Brush{Color{COLORRED}})
The color for Area2 can be defined with the access bBrowser:DataView:Background.

I hope these informations are helpful.

Regards,
Joachim

bBrowser colour issue (very simple I'm sure)

Posted: Sun Dec 29, 2019 9:59 pm
by BiggyRat
Thanks so much Joachim! That did the trick nicely.