Class tenumtypeedit

Unit

Declaration

type tenumtypeedit = class(tcustomenumedit)

Description

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;

image

Hierarchy

Overview

Properties

Public property typeinfopo: ptypeinfo read ftypeinfopo write settypeinfopo;
Published property value;
Published property valuedefault;
Published property base;
Published property bitcount;
Published property valuemin;
Published property valuemax;
Published property onsetvalue;
Published property ifilink;
Published property dropdown;
Published property onbeforedropdown;
Published property onafterclosedropdown;
Published property oninit: enumtypeediteventty read getoninit write setoninit;

Description

Properties

Public property typeinfopo: ptypeinfo read ftypeinfopo write settypeinfopo;

This item has no description.

Published property value;

This item has no description.

Published property valuedefault;

This item has no description.

Published property base;

This item has no description.

Published property bitcount;

This item has no description.

Published property valuemin;

This item has no description.

Published property valuemax;

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.

Published property oninit: enumtypeediteventty read getoninit write setoninit;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.