[Properties (by Name)] [Methods (by Name)]
Component for editing a variable of an enumeration-defined type
Source position: msedataedits.pas line 1124
type tenumtypeedit = class(tcustomenumedit) |
public |
property typeinfopo: ptypeinfo; [rw] |
published |
property value: Integer; |
property valuedefault: Integer; |
property base: numbasety; |
property bitcount: Integer; |
property valuemin: Integer; |
property valuemax: Integer; |
property onsetvalue: setintegereventty; |
property ifilink: tifienumlinkcomp; |
property dropdown: tenumdropdowncontroller; |
property onbeforedropdown: notifyeventty; |
property onafterclosedropdown: notifyeventty; |
property oninit: enumtypeediteventty; [rw] |
end; |
|
Component for editing a variable of an enumeration-defined type |
|
| | | ||
| | | ||
| | | ||
| | | ||
tcustomdropdownedit,idropdownlist,iifidropdownlistdatalink |
||
| | | ||
tcustomstringedit,idropdown,iifidropdownlistdatalink |
||
| | | ||
| | | ||
| | | ||
tcustomedit,igridwidget,istatfile,idragcontroller,iassistiveclientgridwidget,iifidatalink |
||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
|
Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component |
|
| | | ||
tcomponent,ievent,iificommand,iificlient |
||
| | | ||
| | | ||
TObject |
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;