Class TNiceEnumProperty (unit enumped) |
Inherits from
TEnumProperty
TEnumProperty
The default property editor for all enumerated properties (e.g. TShape =
(sCircle, sTriangle, sSquare), etc.).
Destructor Destroy;
function GetValue: string;
for enumerated types make it look nice } { also check by hand for registered integer types, TColor, TCursor, TShortCut } { we can't get a list of registered integers so we check by hand for known types
procedure GetValues(Proc: TGetStrProc);
procedure SetValue(const Value: string);
Procedure AddGetValuesProc(proc : TGetStrProc);
procedure AddTranslation(const Value: string);
procedure FilterGotValues(const Value : string);
Procedure PrepareTranslation;
Procedure RemoveGetValuesProc(proc : TGetStrProc);
Function Translate(const Code : String) : String;
FCurrentProc : TGetStrProc;
FGetValuesProc : TList;
FTranslate : TStringList;
Destructor Destroy;
function GetValue: string;
for enumerated types make it look nice } { also check by hand for registered integer types, TColor, TCursor, TShortCut } { we can't get a list of registered integers so we check by hand for known types
procedure GetValues(Proc: TGetStrProc);
procedure SetValue(const Value: string);
Procedure AddGetValuesProc(proc : TGetStrProc);
procedure AddTranslation(const Value: string);
procedure FilterGotValues(const Value : string);
Procedure PrepareTranslation;
Procedure RemoveGetValuesProc(proc : TGetStrProc);
Function Translate(const Code : String) : String;
FCurrentProc : TGetStrProc;
FGetValuesProc : TList;
FTranslate : TStringList;