Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetFolder – PB Docs 2022 – PowerBuilder Library

GetFolder – PB Docs 2022

GetFolder

PowerScript function

Description

Displays a folder selection dialog box.

Syntax

Argument

Description

title

String for a title that displays above a list box
containing a tree view for folder selection.

directory

String for the directory name passed by reference to the
folder selection dialog box. The directory name is selected, and
its subfolders, if any, are displayed in a dialog box tree
view.

Return value

Integer.

Returns 1 if the function succeeds, 0 if the user selects cancel (or
the dialog box is closed), -1 if an error occurs.

Usage

The directory selected by the user is returned in the same variable
that is passed to the folder selection dialog box.

Examples

This example displays the folder contents of the Appeon directory in
a folder selection dialog box. The string passed in the title argument
displays above the tree view:

See also

DirectoryExists

DirList

DirSelect

GetCurrentDirectory

GetFileOpenName

GetFileSaveName


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x