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

_______________________________________________
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/[email protected]

Reply via email to