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 TUnivSaveDialog Properties Parameters | |||||||||
See also: Execute, ExtractParamAsInt, ExtractParamAsDouble, ExtractParamAsString, TOnFileSelectEvent, ForbiddenDir | |||||||||
Parameters |
|||||||||
The property Parameters is a string which contains any number of parameters using the following format:
The parameter string is available in the OnFileSelect event. Individual parameters can be extracted from the string by using the methods ExtractParamAsString, ExtractParamAsInt, and ExtractParamAsDouble. There are four predefined parameters which are used to configure the standard save dialog (if property UseStandardDialog is TRUE): "ext", "filter", "initialdir", and "caption". Setting the "filter" and "caption" parameters allows you to influence the Title and the Filters properties of the standard save dialog, the parameter "initialdir" controls the initial directory which is displayed in the standard save dialog. If the "ext" parameter is defined, the dialog component automatically replaces the file extension by the extension defined in the parameter "ext" (the file extension has to be specified without the leading dot).
|