| Class TEffectOptionPropEd (unit LeStylEd) |
TForm
The form to be displayed when choosing the value of the property
| Constructors |
constructor Create(AOwner:TComponent);| Functions |
procedure LabelEffectClick(Sender: TObject);
procedure LabelEffectDblClick(Sender: TObject);
procedure SetEffectOption(EoOption: TEffectOption);| Properties |
property EffectOption : TEffectOption| Events |
| Variables |
BitBtn2 : TBitBtn;
btnOK : TBitBtn;
LabelEffect1 : TLabelEffect;
LabelEffect2 : TLabelEffect;
LabelEffect3 : TLabelEffect;
LabelEffect4 : TLabelEffect;
Shape1 : TShape;
FEffectOption : TEffectOption;| Constructors |
constructor Create(AOwner:TComponent);Initialise default values for internal fields
| Functions |
procedure LabelEffectClick(Sender: TObject);Set the form's EffectOption property based on the value of the label selected
procedure LabelEffectDblClick(Sender: TObject);As above and exit
procedure SetEffectOption(EoOption: TEffectOption);Set the EffectOption property of the form and highlight appropriate label
| Properties |
property EffectOption : TEffectOptionPublic declarations } { Declare a public property to allow communication with the form
| Events |
| Variables |
BitBtn2 : TBitBtn;
btnOK : TBitBtn;
LabelEffect1 : TLabelEffect;
LabelEffect2 : TLabelEffect;Each label has a different effect
LabelEffect3 : TLabelEffect;
LabelEffect4 : TLabelEffect;
Shape1 : TShape;
FEffectOption : TEffectOption;Private declarations