Class tdropdownlisteditlb

Unit

Declaration

type tdropdownlisteditlb = class(tdropdownlistedit, ilbdropdownlist)

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;

image

Hierarchy

Overview

Methods

Protected function createdropdowncontroller: tcustomdropdowncontroller; override;
Protected procedure recordselected(const arecordnum: integer; const akey: keyty);
Protected function getlbkeydatakind: lbdatakindty;

Properties

Published property dropdown: tdropdownlistcontrollerlb 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.

Protected function getlbkeydatakind: lbdatakindty;

This item has no description.

Properties

Published property dropdown: tdropdownlistcontrollerlb read getdropdown write setdropdown;

This item has no description.


Generated by PasDoc 1.0.4.