LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

How can I get the labels and index of tabs in tabcontrol?

How can I get the labels and index of tabs in tabcontrol?

Is there any way to get the number of tabs in a TabControl? I want to get their index values and labels also. My aim is to write in a file the label and index of all tabs presented in the tab control.

Which command have I to use to get these information?


Thank you in advance.

Message Edited by Oliveira on 09-18-2007 12:59 PM

0 Kudos
Message 1 of 2
(1,632 Views)

Re: How can I get the labels and index of tabs in tabcontrol?

You can get the number of tabs by calling GetNumTabPages, and you can get each tab's label by calling GetTabPageAttribute with ATTR_LABEL_TEXT.  Refer to the CVI help or the function panels for these functions for further details.

Mert A.
National Instruments
Message 2 of 2
(1,620 Views)