‎02-24-2012 01:59 PM
Hi, I am a novice at Labwindows. when I try to resize a group of square command buttons, I can't find a way to make them same size.
Do Labwindows has an function to resize a group of controls same height, same width or max height, max wdith, min height, min width? just like Labview does.
‎02-24-2012 02:57 PM
Hi,
as far as I know in the UI editor you will have to select the controls individually and press Shift+F10 on each to set size and position. In the source code, you can loop through your controls, which is simplified using control arrays, introduced with CVI 2010, see here
‎03-01-2012 09:38 AM
Just a minor correction: in the UI editor, you don't have to select them individually. You can group-select them, then press <Shift-F10> (Arrange>>Control Coordinates) and then use the "All" buttons in the control coordinates dialog to set the sizes for all controls.
Luis
‎03-01-2012 11:27 AM
Hi Luis,
Thanks for teaching me... I knew that it is possible to select several controls. But when I pressed <Shift-F10>, changed the width, pressed OK, only the first control was affected. I never realized and tried the "All" button, until now
Thanks!
‎03-02-2012 10:17 AM
I admit that it's not the most obvious UI in the world.