Class tcustomdropdowncontroller
Unit
Declaration
type tcustomdropdowncontroller = class(teventpersistent, ibutton, ievent, idropdowncontroller, idataeditcontroller)
Description
No description available, ancestor teventpersistent description follows
No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- teventpersistent
- tcustomdropdowncontroller
Overview
Fields
fowner: twidget; |
|
fdataselected: boolean; |
|
fcolor: colorty; |
|
fcolorclient: colorty; |
|
fdropdowncount: integer; |
|
fselectkey: keyty; |
|
fintf: idropdown; |
|
foptions: dropdowneditoptionsty; |
|
fstate: dropdowncontrollerstatesty; |
Methods
procedure applicationactivechanged(const avalue: boolean); virtual; |
|
function getbuttonframeclass: dropdownbuttonframeclassty; virtual; |
|
procedure updatedropdownbounds(var arect: rectty); virtual; |
|
procedure updatedropdownpos(const arect: rectty); |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
procedure setoptions(const Value: dropdowneditoptionsty); virtual; |
|
function getdropdownwidget: twidget; virtual; |
|
function getwidget: twidget; |
|
procedure dobeforedropdown; virtual; |
|
procedure doafterclosedropdown; virtual; |
|
procedure internaldropdown; virtual; |
|
function setdropdowntext(const avalue: msestring; const docheckvalue: boolean; const canceled: boolean; const akey: keyty): boolean; |
|
function candropdown: boolean; virtual; |
|
procedure selectnone(const akey: keyty); virtual; |
|
function isloading: boolean; |
|
procedure resetselection; virtual; |
|
function componentstate: tcomponentstate; |
|
procedure buttonaction(var action: buttonactionty; const buttonindex: integer); |
|
procedure mouseevent(var info: mouseeventinfoty); |
|
procedure dokeydown(var info: keyeventinfoty); |
|
procedure internalcreateframe; virtual; |
|
procedure updatereadonlystate; |
|
procedure domousewheelevent(var info: mousewheeleventinfoty); |
|
procedure editnotification(var info: editnotificationinfoty); virtual; |
|
constructor create(const intf: idropdown); reintroduce; |
|
destructor destroy; override; |
|
function hasdropdown(): boolean; |
|
procedure dostatread(const reader: tstatreader); virtual; |
|
procedure dostatwrite(const writer: tstatwriter); virtual; |
|
procedure dropdown; virtual; |
|
procedure canceldropdown; |
|
procedure dropdownactivated; |
|
procedure dropdowndeactivated; |
|
function dataselected: boolean; |
Properties
property dropdownwidget: twidget read getdropdownwidget; |
|
property options: dropdowneditoptionsty read foptions write setoptions
default defaultdropdownoptionsedit; |
|
property color: colorty read fcolor write fcolor default cl_default; |
|
property colorclient: colorty read fcolorclient write fcolorclient
default cl_default; |
|
property frametemplate: tframecomp read fframetemplate
write setframetemplate; |
|
property facetemplate: tfacecomp read ffacetemplate
write setfacetemplate; |
Description
Fields
fowner: twidget; |
|
fdataselected: boolean; |
|
fcolor: colorty; |
|
fcolorclient: colorty; |
|
fdropdowncount: integer; |
|
fselectkey: keyty; |
|
fintf: idropdown; |
|
foptions: dropdowneditoptionsty; |
|
fstate: dropdowncontrollerstatesty; |
|
Methods
procedure applicationactivechanged(const avalue: boolean); virtual; |
|
function getbuttonframeclass: dropdownbuttonframeclassty; virtual; |
|
procedure updatedropdownbounds(var arect: rectty); virtual; |
|
procedure updatedropdownpos(const arect: rectty); |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
procedure setoptions(const Value: dropdowneditoptionsty); virtual; |
|
function getdropdownwidget: twidget; virtual; |
|
function getwidget: twidget; |
|
procedure dobeforedropdown; virtual; |
|
procedure doafterclosedropdown; virtual; |
|
procedure internaldropdown; virtual; |
|
function setdropdowntext(const avalue: msestring; const docheckvalue: boolean; const canceled: boolean; const akey: keyty): boolean; |
|
function candropdown: boolean; virtual; |
|
procedure selectnone(const akey: keyty); virtual; |
|
function isloading: boolean; |
|
procedure resetselection; virtual; |
|
function componentstate: tcomponentstate; |
|
procedure buttonaction(var action: buttonactionty; const buttonindex: integer); |
|
procedure mouseevent(var info: mouseeventinfoty); |
|
procedure dokeydown(var info: keyeventinfoty); |
|
procedure internalcreateframe; virtual; |
|
procedure updatereadonlystate; |
|
procedure domousewheelevent(var info: mousewheeleventinfoty); |
|
procedure editnotification(var info: editnotificationinfoty); virtual; |
|
constructor create(const intf: idropdown); reintroduce; |
|
destructor destroy; override; |
|
function hasdropdown(): boolean; |
|
procedure dostatread(const reader: tstatreader); virtual; |
|
procedure dostatwrite(const writer: tstatwriter); virtual; |
|
procedure dropdown; virtual; |
|
procedure canceldropdown; |
|
procedure dropdownactivated; |
|
procedure dropdowndeactivated; |
|
function dataselected: boolean; |
|
Properties
property dropdownwidget: twidget read getdropdownwidget; |
|
property options: dropdowneditoptionsty read foptions write setoptions
default defaultdropdownoptionsedit; |
|
property color: colorty read fcolor write fcolor default cl_default; |
|
property colorclient: colorty read fcolorclient write fcolorclient
default cl_default; |
|
property frametemplate: tframecomp read fframetemplate
write setframetemplate; |
|
property facetemplate: tfacecomp read ffacetemplate
write setfacetemplate; |
|
Generated by PasDoc 0.16.0.