Class TVisualListPropertyEditor (unit Peedit)

Inherits from

TCustomVisualPropertyEditor

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.

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;



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;