Class TSetOption
Unit
Declaration
type TSetOption = class(TValueOption)
Description
useful for making a choice of things
Values must not have a + or - sign as the last character as that can be used to add/remove items from the default set, specifying items without +/- at the end clears the default and uses only specified items
Hierarchy
- TObject
- TOption
- TValueOption
- TSetOption
Overview
Fields
![]() |
FPossibleValues: TStringList; |
![]() |
FValues: TStringList; |
Methods
![]() |
function GetPossibleValues: string; |
![]() |
procedure SetPossibleValues(const Value: string); |
![]() |
function CheckValue(const AString: String): Boolean; override; |
![]() |
function GetValues: string; |
![]() |
procedure SetValues(const Value: string); |
![]() |
constructor CreateEx(const AShort: Char; const ALong: String; const AShortCaseSensitive, ALongCaseSensitive: Boolean); override; |
![]() |
destructor Destroy; override; |
![]() |
function HasValue(const AValue: string): boolean; |
Properties
![]() |
property PossibleValues: string read GetPossibleValues write SetPossibleValues; |
![]() |
property Values: string read GetValues write SetValues; |
Description
Fields
![]() |
FPossibleValues: TStringList; |
![]() |
FValues: TStringList; |
Methods
![]() |
function GetPossibleValues: string; |
![]() |
procedure SetPossibleValues(const Value: string); |
![]() |
function CheckValue(const AString: String): Boolean; override; |
![]() |
function GetValues: string; |
![]() |
procedure SetValues(const Value: string); |
![]() |
constructor CreateEx(const AShort: Char; const ALong: String; const AShortCaseSensitive, ALongCaseSensitive: Boolean); override; |
![]() |
destructor Destroy; override; |
![]() |
function HasValue(const AValue: string): boolean; |
Properties
![]() |
property PossibleValues: string read GetPossibleValues write SetPossibleValues; |
![]() |
property Values: string read GetValues write SetValues; |
Generated by PasDoc 0.16.0.