From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-31-2013 04:46 PM
Hi,
Does anyone know a quick way to move a botton or graph to another tab or panel?
I'm modigying the appearance and realize that I want a bunch of them in another tab or panel, many of them are used in the code or have a callback function.
Thank you guys.
Solved! Go to Solution.
07-31-2013 04:55 PM
At design time:
At run-time:
08-01-2013 04:15 PM - edited 08-01-2013 04:16 PM
The issue is when I copy the botton or anything else, still there are lines in the code that get attributes from numeric boxes llike before from previous panel.
Is there any fast way or should I change the code manually?
08-01-2013 05:04 PM
Copying a control from one panel to the other does not alter the existing code. A callbackdata installed on the control will remain on the new control. You must manually remove the callback fromt the control, or modify it with a new one specific for the new control.
CVI has no means to detect whether a callback connected to a control can or cannot exist on the new control copied: it is legitimate that more controls share the same callback routine, even on different panels. It's up to the programmer to define which callback, if any, must be attached to every control he puts on the user interface.