LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SetTableCellAttribute, using tabs

I am trying to SetTableCellAttribute and SetTableCellVal when table is in a CTRL_TABS defined Tab.

 

Without being in a Tab  would call

 

SetTableCellVal (panel_handle, PANEL_TABLE, MakePoint (1,16), ave);

 

But in a Tab?  Not sure how to use function call with Tabs?

0 Kudos
Message 1 of 3
(3,279 Views)

Controls on a tab behave normally... provided you undestand that each tab page is a separate panel with its proper handle!

 

Tab control provides the command GetPanelHandleFromTabPage for you to retrieve the panel handle associated with a tab page, and is that one that you must call to address all controls on it.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,270 Views)

In case it is not clear enough, what Roberto means is that; after you get a tab_handle using GetPanelHandleFromTabPage,

 

you should call the function as: SetTableCellVal (tab_handle, PANEL_TABLE, MakePoint (1,16), ave);

S. Eren BALCI
IMESTEK
0 Kudos
Message 3 of 3
(3,228 Views)