OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

dlgPath

Contents

Brief Information

Prompt user to select a path with an Open Path dialog.

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

1. dlgPath;

2. dlgPath path:=mypath;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
path

Output

string

path$

The string that will receive path and name of the user's chosen file.

title

Input

string

Optional string used to set the dialog's title.

init

Input

string

Optional string used to set start path when dialog open.

showfiles

Input

int

1

Used to determine if show files under select path or not.

Description

This X-Function opens a dialog to enable you to select a path and store it into a variable.

Examples

If you want to store a path into the system variable path$, use the following command:

dlgPath;

If you want to store a path into the variable strMyPath$, use the following command:

dlgPath strMyPath;

Related X-Functions