LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to obtain an id of a control on a duplicated tab?


Hi
I have a tab page (with 3 tabs) that has controls on it (such as text boxes, etc) that I duplicated using DuplicateCtrl.  Now I would like to set/get the values from the text boxes that are on the dupicated tab page.  My questions is, how do I obtain the controlID of the text-box control?  The original page has a specific name for the text box control, in the .uir file, however after duplication, what does the controlID become?  Restated another way, the question is: if I duplicate a tab dynamically (on the fly) that has controls on it, how can I access the individual controls for get/set operations?
Thanks,
Owais
0 Kudos
Message 1 of 2
(3,024 Views)

Hello Owais,

when a tab page is duplicated, the control ID's of the duplicated tabs are the same as the control ID's on the original tab page. To change the control's value or attributes, you should only get a panel handle for the duplicated tab page.

 

Message 2 of 2
(3,019 Views)