From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-10-2014 03:26 PM
using LabVIEW 6.1
Is there a way to make some of textboxes on the front panel to be the same width?
In VB6 you can set the properties of a textbox's width and height. Not sure if this is possible with LabVIEW.
07-10-2014 03:34 PM - edited 07-10-2014 03:35 PM
Sheesh, I haven't used LabVIEW 6 in 10 years or so. Yes what you are looking for is property nodes. You can make implicit or explicit property nodes to change the appearance of UI elements.
This is still relavent even if it was for 2011.
http://zone.ni.com/reference/en-XX/help/371361H-01/glang/property_node/
Also here is some free training if you are interested:
3 Hour Introduction http://www.ni.com/white-paper/5243/en/
6 Hour Introduction http://www.ni.com/white-paper/5241/en/
LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/
Self Paced training for students http://www.ni.com/academic/students/learn/
Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/ma
LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_L
EDIT: I just realized you might not mean at runtime. If you want to change the appearance as the program runs use property nodes, but if you just want to set the size select the control then select Set Width and Height from the toolbar.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-10-2014 03:38 PM
07-10-2014 03:45 PM
Right. I know about using Property Node.
I was hoping to be able to do it at design-time rather than run-time.
07-10-2014 03:47 PM
@nyc_(is_out_of_here) wrote:
I was hoping to be able to do it at design-time rather than run-time.
Look at my Edit from the previous message. You can simply drag the corners of controls to resize them, then use the Set Width and Height to get it down the right number of pixels.
Also if you edit a controls position with a property node, then save, the new position information is saved in the VI so you no longer need the property node.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-10-2014 04:01 PM
@Hooovahh wrote:
@nyc_(is_out_of_here) wrote:
I was hoping to be able to do it at design-time rather than run-time.
Look at my Edit from the previous message. You can simply drag the corners of controls to resize them, then use the Set Width and Height to get it down the right number of pixels.
Also if you edit a controls position with a property node, then save, the new position information is saved in the VI so you no longer need the property node.
I don't see the Set Width or Height options in the toolbar.
07-10-2014 04:08 PM
I haven't used ever sucha an old version of LabVIEW but on the properties dalog box?
07-10-2014 04:13 PM - edited 07-10-2014 04:14 PM
Looks like I am out of luck with such an old version of LabVIEW.
That property dialog version looks very familiar, and I have been hunting for it but have been unsuccessful.
I don't have the choices shown there in your screen capture.
07-10-2014 08:19 PM
@nyc_(is_out_of_here) wrote:
I don't see the Set Width or Height options in the toolbar.
The third button to the right of the font dropdown. Click on that and the bottom button in that drop down brings up the height/width dialog.
07-10-2014 10:02 PM
@RavensFan wrote:
@nyc_(is_out_of_here) wrote:I don't see the Set Width or Height options in the toolbar.
The third button to the right of the font dropdown. Click on that and the bottom button in that drop down brings up the height/width dialog.
But LabVIEW 6.i? .... I THINK the resize bar existed..... I'm not sure about the property editor option to resize.
I haven't used that version for a decade either... go ahead ask me how to use Windows 95 (Which I did use with LabVIEW 6.i!)