Access a Control Located on Inactive Tab in CVIPrimary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 2.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I am using a native Tab Control in CVI and would like to access a control located on an inactive tab page so that I can read or write to it. How can I access a control that is located on an inactive tab page? Solution: In order to access a control located on an inactive tab page of the native tab control in CVI, you must retrieve the panel handle of the tab page in the tab control where the control exists. The panel handle of the tab control can be obtained by using the following function: int GetPanelHandleFromTabPage (int panelHandle, int controlID, int index, int *tabPanelHandle); The index parameter will be the index of the tab page where the control is located. Now, you can read or write to a control on an inactive tab page, by using the tabPanelHandle to specify where the control is located. Related Links: Attachments:
Report Date: 03/18/2008 Last Updated: 03/18/2008 Document ID: 4JHCHJCZ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
