|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack FileSys Type Declarations TOnFileSelectEvent|
|See also: OnFileSelect, Parameters|
The type declaration TOnFileSelectEvent declares the event which occurs when the user has to select or enter a filename. The parameter Parameters contains a string holding the parameters which have been defined in the property Parameters. The contents of Parameters can be used to control the behavior of the file select dialog (as an alternative, you can use the methods ExtractParamAsString, ExtractParamAsInt, or ExtractParamAsDouble to extract a particular parameter from the property Parameters).
The user action (mrOK or mrCancel) has to be assigned to the variable parameter UserAction. The variable parameter SelectedFileName has to be set to the filename specified by the user.