get_BackColor does not work?


08-25-2009, 5:47 AM
What color is the get_BackColor function supposed to return? For me it returns always r=0, g=0, b=4. Activebar3.

Re: get_BackColor does not work?


09-03-2009, 2:20 AM

janttu,

Excuse me for a long delay, I somehow missed this thread. ActiveBar's BackColor gets or sets the background color. For example, you can set background color to yellow:
ActiveBar31.BackColor = vbYellow
After this if you check BackColor property it'd return 65535 which is r = 255, g = 255, b = 0.

Thank you,
Andrey T.

Re: get_BackColor does not work?


09-17-2009, 7:31 AM

When classic theme is used in xp this is not true. The actual color in menus etc. is different from the one defined in layout file, at least when xplook is disabled in such situation.

Re: get_BackColor does not work?


09-25-2009, 1:48 AM
janntu,

Excuse me for a long delay. Please note that BackColor applies when the ToolbarStyle property is set to ddTSOffice2000. I am using classic theme in XP too but can't reproduce the behaviour. Could you please post a small sample which reproduces the issue?

Thank you,
Andrey T.