08-19-2008 12:18 AM
hello NI,
is there any possiblilites, to programatically create the controls in front panel? let say i neet 5 text controls, can i create the controls in front panel with out drag and drop from controls pallete?
08-19-2008 12:48 AM
Hi Balaji DP,
it´s not possible in that way. You can create the controls first and hide them, show only the controls you need. You can use a picture control to draw the controls you need. In this case you need minimum one of the controls which you want to draw. What you mean is called scripting and is not supported by NI. Can you explain what you need, i´m sure there is a solution for you without using scripting.
Hope it helps.
Mike
08-19-2008 12:54 AM
If you need five similar text controls, you can get one, and then ctrl-drag it to create more. No need to go back to the palette.
Sometimes a better solution to 5 string controls would be a size=5 array of string controls.
If you have LabVIEW 8.6, you might speed up your operations using the new quick-drop feature.
If you are really adventureous, there's also the currenty unsupported scripting functionality.