LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Tab Text

How can I change programmaticly the Text of the Tabs from a Tab Control?

I was looking for a property like "Strings[]" from the "ring-control"

I need a soloution to to dynamic change the Tab control during execution.

Any idea?
0 Kudos
Message 1 of 3
(2,394 Views)
ISTR there's very little control over the tab control. However, you could
hide the tabs of the tab control, select which tab is to be displayed
programmatically, and create at the simplest a cluster of Booleans at the
top to serve as a new tab control.

Amadeo Vergss wrote in message
news:3a7e7be4@newsgroups.ni.com...
>
> How can I change programmaticly the Text of the Tabs from a Tab Control?
>
> I was looking for a property like "Strings[]" from the "ring-control"
>
> I need a soloution to to dynamic change the Tab control during execution.
>
> Any idea?
0 Kudos
Message 2 of 3
(2,394 Views)
In Measurement Studio 6.0 you can access a function EasyTab_SetTabAttribute with the attribute, ATTR_EASY_TAB_LABEL_TEXT, this parameter takes a string and allows you to change the tab-text programmatically.

Good Luck

Elaine R.
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 3 of 3
(2,394 Views)