Class tdropdownlistedit

Unit

Declaration

type tdropdownlistedit = class(tcustomdropdownlistedit)

Description

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

Properties

Published property maxlength;
Published property value;
Published property valuedefault;
Published property onsetvalue;
Published property ifilink;
Published property dropdown;
Published property onbeforedropdown;
Published property onafterclosedropdown;

Description

Properties

Published property maxlength;

This item has no description.

Published property value;

This item has no description.

Published property valuedefault;

This item has no description.

Published property onsetvalue;

This item has no description.

Published property ifilink;

This item has no description.

Published property dropdown;

This item has no description.

Published property onbeforedropdown;

This item has no description.

Published property onafterclosedropdown;

This item has no description.


Generated by PasDoc 1.0.4.