| Class TVisualListPropertyEditor (unit Peedit) |
| Constructors |
| Functions |
Destructor Destroy;
Procedure CheckKey(Sender : TObject; var Key : Char);Load fresh vaue
Procedure DoubleClicked;
Procedure FixIndex;
Function GetEditValue : String;
Procedure ListChanged(Sender : TObject);
Procedure LoadDropDown(const Value : String);
Procedure SetEditValue(Value : String);
Procedure SetPropertyEditor(Value : TPropertyEditor);
procedure WndProc(var Message: TMessage);| Properties |
| Events |
| Variables |
FDropDown : TComboBox;
FStringList : TStringList;
FWasKeyPress : Boolean;| Constructors |
| Functions |
Destructor Destroy;
Procedure CheckKey(Sender : TObject; var Key : Char);called each time item changes
Load fresh vaue
Procedure DoubleClicked;
Procedure FixIndex;translate the value
Function GetEditValue : String;This function should return the canonical value, so we need to reverse translate
Procedure ListChanged(Sender : TObject);have to do a comparetext search
Procedure LoadDropDown(const Value : String);EditValue:=FPropertyEditor.Value;
Procedure SetEditValue(Value : String);this function is given a canonical value and turns to a nice value
Procedure SetPropertyEditor(Value : TPropertyEditor);
procedure WndProc(var Message: TMessage);| Properties |
| Events |
| Variables |
FDropDown : TComboBox;For sorting lists
FStringList : TStringList;if list change was caused by keypress and not by selecion
FWasKeyPress : Boolean;