Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.45 GetFolderName Method

Description:

Display the select folder dialog.

Used in controls:

None.

Used in objects:

Form

Parameters:

1. VT_BSTR - FolderNameX(8192)
2. VT_BSTR - DialogTitleX(8192)
3. [VT_BOOL - NoChangeCurrentS9(4) COMP-5]

Description of Parameters:

FolderName: The field in which the selected folder name should be returned.
If FolderName is passed with a value set, the value becomes the initial folder of the dialog. If FolderName is not set (SPACE) the current folder becomes the initial folder of the dialog.

DialogTitle: The text for the title of the select folder dialog.

NoChangeCurrent: Whether to change the current folder to the selected folder or not.
The current folder is not changed if NoChangeCurrent is set to POW-TRUE or the parameter is omitted. The current folder is changed if NoChangeCurrent is set to POW-FALSE.

Return value:

VT_BOOL - ReturnValueS9(4) COMP-5

POW-TRUE means the OK button was pushed.
POW-FALSE means the Cancel button was pushed.

Backward compatibility
method name:

None.