LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to make a dialog VI an automatically resizable and selectable message.

Notice how LabVIEW's "One Button Dialog" and "Two Button Dialog" boxes size themselves nicely to the text they're given?

I'd like a similar dialog built from a LabVIEW VI that uses a string indicator to display the text, so the user can select the text, then copy and paste it.

Has anybody build such a VI?
0 Kudos
Message 1 of 3
(2,652 Views)
Start with the "three-button dialog" available in your palette. Unlike the one and two button variety, it is a plain subVI with diagram.

I has a string indicator and the diagram is visible to the programmer, just double-click it. Inside, look for "Three button dialog CORE.vi", It contains a monstrous 7 stage sequence structure containing all the logic to resize the text indicator, etc. Just gut it out for your purpose and save it under a new name. Good luck!
0 Kudos
Message 2 of 3
(2,652 Views)
Duh, I should have looked there first. That's exactly what I was looking for, and it's built in to this version of LabVIEW!
0 Kudos
Message 3 of 3
(2,652 Views)