LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Tooltip in easytab on a dynamically created control

Hello,
When, in a panel in an easytab control, I create a control (with DuplicateCtrl function) and then I want to put a tooltip on it, I've always a general protection fault.
Moreover, even if I don't try to set a tooltip on this control, I've a general protection fault when I discard the panel when it is.
I think that's probably corrected in labwindows8.0 but ....
0 Kudos
Message 1 of 2
(2,949 Views)

Hello,

I did this in CVI 7.1.1 and had no problems. But I first created the controls on my panel (also using DuplicateCtrl) and then added this panel to the tab control, using EasyTab_AddPanels. Maybe the way to get around this problem is removing your panel from the tab control, creating the control and then adding the panel to the tab control...

The general protection error could also be caused by something else, like writing past the last member of an array. You could add the control to your watch list and enable the 'Break when value changes' option to check this (first make sure the control id is a global variable).

0 Kudos
Message 2 of 2
(2,946 Views)