-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Paul McNett
Sent: Thursday, May 13, 2010 8:00 PM
To: Dabo Users list
Subject: Re: [dabo-users] Coloring Page Frame Tabs

On 5/13/10 10:48 AM, Martinecz Miklós wrote:
> I would like to make page tabs of different colors within the PageFrame.
>
> I tried to apply the BackColor property of the dPage object, but it
doesn't
> extend its effect to the tabs (where the page can be selected).
>
> Is there another property for this purpose?

dPageFrame is an example of a UI class that we don't have all the control
over that 
we sometimes want. This is because wxPython leaves it up to the platform GUI
to 
decide how to draw it. On Mac, for instance, it doesn't have tabs at all.

If you want to be able to style page tabs how you want, and have it look the
same on 
all platforms (at the expense of not being a platform-native control), then
you can 
try dabo.ui.dPageStyled instead.

I've used this class with success, although I've never tried coloring
individual 
pages. I don't know if it is available in the Class Designer, either.

Paul

*******

Thank you Paul,

May be I will try styled pages later. Currently I would like to finish my
development as soon as possible.

Best regards,
Miklós


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaackgpanngp0urgxvyyklpm8kaaaaqaaaacv5rhqev2k2lsgbx+e4iraeaa...@upcmail.hu

Reply via email to