[Properties (by Name)] [Methods (by Name)]
Component for editing a value chosen from a drop-down list
Source position: msedataedits.pas line 636
type tdropdownlistedit = class(tcustomdropdownlistedit) |
published |
property maxlength: Integer; |
property valuedefault: msestring; |
property onsetvalue: setstringeventty; |
property ifilink: tifidropdownlistlinkcomp; |
property dropdown: tdropdownlistcontroller; |
property onbeforedropdown: notifyeventty; |
property onafterclosedropdown: notifyeventty; |
end; |
|
Component for editing a value chosen from a drop-down list |
|
| | | ||
| | | ||
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 value chosen from a drop-down list. The list can be filled, for example in the form's oncreate event, using the dropdown property; the selected value is available through the value property.
uses main_mfm; procedure tmainfo.mainfo_oncreate(const sender: TObject); const a: array[0..2] of msestring = ('un', 'deux', 'trois'); begin edit1.dropdown.cols[0].asarray := a; edit1.dropdown.itemindex := 0; end; procedure tmainfo.button_onexecute(const sender: TObject); begin showmessage(edit1.value); end;