TCustomApplication.OptionChar¶
Command-line switch character.
Declaration¶
Source position: custapp.pp line 111
public property OptionChar: char;
Description¶
OptionChar is the character used for command line switches. By default, this is the dash ('-') character, but it can be set to any other non-alphanumerical character (although no check is performed on this).
See also¶
| Name | Description |
|---|---|
| FindOptionIndex | Return the index of an option. |
| GetOptionValue | Return the value of a command-line option. |
| HasOption | Check whether an option was specified. |
| CaseSensitiveOptions | Are options interpreted case sensitive or not. |
| CheckOptions | Check whether all given options on the command-line are valid. |