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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

make textboxes on front panel the same width

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.

0 Kudos
Message 1 of 11
(3,071 Views)

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/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

 

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.

0 Kudos
Message 2 of 11
(3,065 Views)

Hi nyc,

 

have you tried with the property node?

0 Kudos
Message 3 of 11
(3,063 Views)

Right. I know about using Property Node.

 

I was hoping to be able to do it at design-time rather than run-time.

0 Kudos
Message 4 of 11
(3,056 Views)

@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.

0 Kudos
Message 5 of 11
(3,048 Views)

@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.

0 Kudos
Message 6 of 11
(3,040 Views)

I haven't used ever sucha an old version of LabVIEW but on the properties dalog box? 

 

textbox.PNG

 

0 Kudos
Message 7 of 11
(3,032 Views)

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.

0 Kudos
Message 8 of 11
(3,025 Views)

@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.

0 Kudos
Message 9 of 11
(3,005 Views)

@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.


Capture.PNG

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!)


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 11
(2,990 Views)