![]() |
![]() |
CorelScriptTools.GetFolder
Function GetFolder([InitFolder As String]) As String
Member of CorelScriptTools
The GetFolder method displays a Windows Choose Folder dialog box. The Choose Folder dialog box returns the folder and path a user chooses as a string.
Parameter
|
Definition
|
InitFolder
|
Specifies the default path and folder to display in the dialog box. If not specified, the active folder is used.
|
Here is a code example:
The above example displays the following dialog box:

The selected folder is passed to the string variable NewFolder. The SetCurrFolder statement sets the current folder to the folder name passed to NewFolder.
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.