12-19-2008 08:29 AM
How can I create controls and indicators on a front panel programmatically? I want to create an executable where the user can create controls or indicators and then position them (drag) on the front panel.
Thanks!
12-19-2008 08:34 AM
Sorry, no, this cannot be done programmatically in LabVIEW.
To achieve something that mimics this, you will need to have all the controls and indicators you think your user might want pre-created, but set to invisible. Then, if a user decides to add a new control, you can simply invert the visibility property of one of these invisible controls to visible. The effect is similar.
Dragging the controls around will need to be handled by a series of event cases monitoring the mouse down/move/up events on each of the visible controls and indicators.
12-19-2008 08:53 AM
OK, I'll try that. Thanks for your help.
Jim
12-19-2008 08:54 AM