UserInterface.AddPathBrowser(String, String, String, Variable, Variable) Method

Top 

Description

Adds a Path Browser element to the UserInterface.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

UserInterface.AddPathBrowser(

String valueDestination,


String elementLabel,


String defaultValue,


Variable doCheckForPathExistence,


Variable browseType)

 

 

Arguments

valueDestination


Description:

A String that represents either an object or a writeable property of an object where the value will be stored.

 

 

elementLabel


Description:

The label shown to the left of the input element.

 

 

defaultValue


Description:

The default value for the Path Browser.

 

 

doCheckForPathExistence


Description:

Determines whether the entered path will be validated for existence.

Valid Values:

Value

Label

0

false

1

true

 

 

 

browseType


Description:

Determines the type of path you wish to browse.

Valid Values:

Value

Label

0

File Browsing

1

Directory Browsing

 

 

 

 

Return Value

Type:

number

 

 

The return value is not used.

 

Syntax

myVariable1 = myUserInterface1.AddPathBrowser(myString1, myString2, myString3, myVariable2, myVariable3);

 

 

See also

UserInterface Object

Custom User Interface Guide