Class tdropdownlisteditdb
Unit
Declaration
type tdropdownlisteditdb = class(tdropdownlistedit, idbdropdownlist)
Description
This item has no description. Showing description inherited from tdropdownlistedit.
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;

Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tpublishedwidget
- tcustomedit
- tcustomdataedit
- tdataedit
- tcustomstringedit
- tcustomdropdownedit
- tcustomdropdownlistedit
- tdropdownlistedit
- tdropdownlisteditdb
Overview
Methods
| Protected | function createdropdowncontroller: tcustomdropdowncontroller; override; |
| Protected | procedure recordselected(const arecordnum: integer; const akey: keyty); |
Properties
| Published | property dropdown: tdropdownlistcontrollerdb read getdropdown write setdropdown; |
Description
Methods
| Protected | function createdropdowncontroller: tcustomdropdowncontroller; override; |
|
This item has no description. | |
| Protected | procedure recordselected(const arecordnum: integer; const akey: keyty); |
|
This item has no description. | |
Properties
| Published | property dropdown: tdropdownlistcontrollerdb read getdropdown write setdropdown; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.