‎12-02-2004 06:30 AM
‎12-02-2004 07:28 AM
‎12-02-2004 07:40 AM
‎12-02-2004 07:48 AM
@Bill Choy wrote:
I tried to do it in a lower version LabVIEW, 6.1/6.0? I found that the position of front panel objects were changed when I resize the window. Does it fix in LabVIEW 7.1?
Bill
‎12-02-2004 07:51 AM
‎12-03-2004 07:44 AM
To get best control, you will need to do it programmatically. Using the property nodes, all controls can be moved and resized. Resizing is problematic, however, because there is no single method that works for all controls. The top level Bounds property is read-only. It should be used to make sure whatever you did to change the size resulted in the size you expected. You will need to search the control–specific properties for the one which resizes your control of interest. For example, the Plot Area.Size property changes the size of a Waveform Graph.
You can link one control to the size of the panel and have it scale automatically. Do this by selecting the object, then selecting Edit>>Scale Object with Panel. I typically use this for the main object on my panel. The rest of the objects are then moved around the rescaled object, but not rescaled. You will have to rescale them yourself, and move them again if you do not like the position. You will probably want/need to change font sizes on numerics.
What you are trying to do is possible, but it is also tedious. Good luck! Let us know if you still have problems.