PDA

View Full Version : Tabbed Object question


ABC123

jas
01-16-2015, 01:16 PM
Is it possible to conditionally change the color of a tab on a tabbed object using xbasic?

jas
01-16-2015, 01:28 PM
Thank you Mike Christensen. Found his answer in the "Similar Threads" section.

Stan Mathews
01-16-2015, 01:29 PM
Yes.

You can use the object explorer to gather the object/property syntax you need.

Like

topparent:<tabbed_object_name>.Tabs.Sheet[1].Selectedcolor = "Red"
topparent:<tabbed_object_name>.Tabs.Sheet[1].UnSelectedcolor = "Rose"

You can even change the page color

topparent:<tabbed_object_name>.Tabs.Sheet[1].PageColor = "Canvas"