Class tenumtypeedit
Unit
Declaration
type tenumtypeedit = class(tcustomenumedit)
Description
Component for editing a variable of an enumeration-defined type.
The list of possible values can be filled in the oninit event, using the typeinfopo property, as in the following example.
uses main_mfm, typinfo; type TFruit = (Apple, Apricot, Cherry, Pear); procedure tmainfo.editinit(const sender: tenumtypeedit); begin sender.typeinfopo := PTypeInfo(TypeInfo(TFruit)); end;
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tpublishedwidget
- tcustomedit
- tcustomdataedit
- tdataedit
- tcustomstringedit
- tcustomdropdownedit
- tcustomdropdownlistedit
- tcustomenuedit
- tcustomenumedit
- tenumtypeedit
Overview
Properties
property typeinfopo: ptypeinfo read ftypeinfopo write settypeinfopo; |
|
property value; |
|
property valuedefault; |
|
property base; |
|
property bitcount; |
|
property valuemin; |
|
property valuemax; |
|
property onsetvalue; |
|
property ifilink; |
|
property dropdown; |
|
property onbeforedropdown; |
|
property onafterclosedropdown; |
|
property oninit: enumtypeediteventty read getoninit write setoninit; |
Description
Properties
property typeinfopo: ptypeinfo read ftypeinfopo write settypeinfopo; |
|
property value; |
|
property valuedefault; |
|
property base; |
|
property bitcount; |
|
property valuemin; |
|
property valuemax; |
|
property onsetvalue; |
|
property ifilink; |
|
property dropdown; |
|
property onbeforedropdown; |
|
property onafterclosedropdown; |
|
property oninit: enumtypeediteventty read getoninit write setoninit; |
|
Generated by PasDoc 0.16.0.