LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

tabs pages

I created a main panel housing the 1 tabs control and a numeric control within this tabs. During run time, I copy the tabs page to 9 more pages, so each tabs page contain the numeric control within it. I need help how to program in CVI to set & get the values from the numreric control from these different tabs pages. Thanks.
0 Kudos
Message 1 of 4
(3,537 Views)

Hello,

You should use the function GetPanelHandleFromTabPage to get a panel handle for the tab page, containing the numeric control you want to access. Then simply use the GetCtrlVal and SetCtrlVal functions to set and get the values from the numeric control. The parameter 'panel' of these functions should be the panel handle you got from the GetPanelHandleFromTabPage function.

Message Edited by Wim S on 04-26-2006 05:27 PM

Message 2 of 4
(3,530 Views)
It works. Thanks so much.
0 Kudos
Message 3 of 4
(3,511 Views)
Thanks for rating my message Smiley Very Happy
0 Kudos
Message 4 of 4
(3,495 Views)