LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Darin.K

Method to Launch Browse Dialog for Path Controls

Status: New

I go through all of the trouble to configure the Browse options for a Path Control, but sometimes those wacky users just plain forget to browse for a file before running a VI or I would like certain events to trigger a File Dialog.  It is easy to trap the Empty Path or Not a Path default value and launch a File Dialog, but here it gets a bit annoying:

 

1) Either start dropping Express VIs, or dig out the old File Dialog Primitive.

2) Rejigger all of the settings (prompt, start path, pattern, folder or file, new or existing....)

3) Write the value back to the control

 

I would like it if instead I could invoke a new 'Browse' method which would launch the File Dialog as if the user had clicked the browse button.  I would not complain if the method returned the value of the path and a Boolean for Cancel.

1 Comment
_Xilinx_
Member

I figured out to have it working with the "Value Change - Signaling" event case... see screenshot below:

AutoBrowse Pop-UP