LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

The control is not the type expected by function__tablepage

 Hello,

        I have a issue about tab, expecting for your answer.

        I created a tab named SYSYTEM which contains four tabs. I run it, then I get the error "the control is not the type expected by function". What's wrong with it?

      

   GetPanelHandleFromTabPage (setup, SETUP_SYSTEM, 0, &systemp0);
   GetPanelHandleFromTabPage (setup, SETUP_SYSTEM, 1, &systemp1);   
   GetPanelHandleFromTabPage (setup, SETUP_SYSTEM, 2, &systemp2);   
   GetPanelHandleFromTabPage (setup, SETUP_SYSTEM, 3, &systemp3); 

0 Kudos
Message 1 of 2
(3,120 Views)

I noticed that in one case your panel is called setup, in the other SETUP, and in one case your tab is called SYSYTEM, in the other SYSTEM. Maybe typos... Maybe there are typos in your code, too.

0 Kudos
Message 2 of 2
(3,114 Views)