02-02-2011 12:26 PM
Hello,
I need help quickly it's possible.
I work with Labwindows/CVI, and in a panel I use an object "Table" in an object "Tab".
I added a Tab in my panel and I created several tabs in this object. Then in every tab I added a table.
I can't access to this table in every tab.
I would like add row in the table with the function InsertTableRows but I can't because I don't know how to inform the parameter controlID in the function
( int InsertTableRows (int panelHandle, int controlID, int rowIndex, int numberOfRows, int cellType); ).
In my file ".h", these differents objects are declared as follow:
Solved! Go to Solution.
02-02-2011 11:54 PM
This is a *very* common problem tat everyone faces when he starts using tab controls. The short story is that every tab page is a panel by itself with its own handle and that objects on the tab page must be addressed with that handle. GetPanelHandleFromTabPage can help you in retrieving the correct panel handle to use.
More detailed informations can be found here and here and here. Here the online help for GetPanelHandleFromTabPage
02-03-2011 08:09 AM
Thanks a lot! My problem is resolved!
Bye
Karine