Studio 10.22 coloring the Tabpane

Mike Rowan mgrowan at fastmail.com
Wed Feb 5 22:59:20 UTC 2025


Hi John
Thanks for a wonderful illustrated response. After I sent my message, I had a thought about using a TabStrip and a PagedPane, same basic idea as yours.  It seems to give a very neat appearance. Just a bit of coding to do now. 

Now I have a new nightmare in that all my pusbuttons have changed from white to dull grey, as have popup lists. I have no idea how, and I can't see any modifyable settings that would be relevant.

Seems to me that messing with colors has its dangers!

On Thu, Feb 6, 2025, at 8:49 AM, John Boehme wrote:
> Hi Mike,
> 
> With the $tabstyle property to anything other than kDefaultPanes, your
> custom color should apply.
> 
> 
> John Boehme
> 940-597-3046
> 
> -----Original Message-----
> From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
> Of Mike Rowan
> Sent: Wednesday, February 5, 2025 13:41
> To: OmnisDev List - English
> Subject: Studio 10.22 coloring the Tabpane
> 
> I am attempting to color my app such that all window backgrounds have a nice
> gently blue shade, which makes entry fields and pushbttons etc stand out
> clearly.
> 
> I cannot find the right settings for the tabpane. The best I can get is:
> Change $fieldstyle to CtrlTabStrip so I can change the $backcolor.
> Change $backgroundtheme to kBGThemeNone
> Change $backcolor and $forecolor to RGB(203,229,254)
> 
> This still leaves a narrow white horizontal strip across the full width of
> the component from half way down the tabs to the top of the accessible page
> area. Anyone know how to do this?
> 
> Mike Rowan
> Mobile: 0417 812 509
> Email: mgrowan at fastmail.com
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com Start a new
> message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 

Mike Rowan
Mobile: 0417 812 509
Email: mgrowan at fastmail.com


More information about the omnisdev-en mailing list