On Mon, Apr 27, 2009 at 2:52 PM, Paul Rodman <paul@ilanga.com> wrote:
>
>> Yes it's a native control on all platforms. How are your "colouring" the
>> UI? For the tabpanel, you can float a canvas on each tab and place your
>> controls on the canvas. This is essentially what .NET does to support
>> tabpanel background color.
>>
>
> I use
>
> Declare Function SetSysColors Lib "user32" (nChanges As integer,lpSysColor
> As ptr,lpColorValues As ptr) As integer
>
> but there doesn't seem to be a setting that changes the tab panel colour.
>
That might've worked before XP, not sure, but since XP the TabPanel
background can be shaded.
>
> The canvas trick would work, except that:
>
> a. I'd have to do a _lot_ of work to "retrofit" all my tab panels.
> b. What about the tab "handles"? They would not be covered by a canvas.
>
No luck on b, even in .NET only the TabPanel content area is coloured.
>
> If I was to lodge a feature request for a BGColor property, would you guys
> consider it?
>
Sure but it's not going to solve your b problem so maybe you'll want to come
up with a different design.
--
William Yu
REAL Software
Check out our new "Intro to REALbasic" video!
http://www.youtube.com/watch?v=JoFShslQRfU
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|