Products Downloads


French version


 

 

This function calls the standard file selection window.

 

Context

  • Windows client,

  • Java client,

  • Adelia Cloud client.

 

Parameters

<WINDOW>

 

Name of the current window.

ALPHA(n)

Title

Title of the window.

ALPHA(n)

FilterType

Description associated with the Filter filter.

ALPHA(n)

Filter

File extension filter.

ALPHA(n)

FilePath

Initial access path leading to the file.
This will be the path shown in the "File name" field when the box is opened. When the box is closed, FilePath will be set with the path and file name selected by the user.

NUM_BIN_4

Size

Size of the FilePath parameter.

BOOL

ReturnCode

Return code for the operation:

*TRUE if the user has selected a file, otherwise *FALSE.

 

Example

Title = 'Open a Configuration File'

FilterType = 'Configuration File'

Filter = '*.cfg'

FilePath = 'C:\config'

Size = 256

 

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxOpenFileSelection' ID_WIN0 Title FilterType Filter FilePath Size ReturnCode

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette