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

Overview

Fields

Protected fowner: twidget;
Protected fdataselected: boolean;
Protected fcolor: colorty;
Protected fcolorclient: colorty;
Protected fdropdowncount: integer;
Protected fselectkey: keyty;
Protected fintf: idropdown;
Protected foptions: dropdowneditoptionsty;
Protected fstate: dropdowncontrollerstatesty;

Methods

Protected procedure applicationactivechanged(const avalue: boolean); virtual;
Protected function getbuttonframeclass: dropdownbuttonframeclassty; virtual;
Protected procedure updatedropdownbounds(var arect: rectty); virtual;
Protected procedure updatedropdownpos(const arect: rectty);
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure setoptions(const Value: dropdowneditoptionsty); virtual;
Protected function getdropdownwidget: twidget; virtual;
Protected function getwidget: twidget;
Protected procedure dobeforedropdown; virtual;
Protected procedure doafterclosedropdown; virtual;
Protected procedure internaldropdown; virtual;
Protected function setdropdowntext(const avalue: msestring; const docheckvalue: boolean; const canceled: boolean; const akey: keyty): boolean;
Protected function candropdown: boolean; virtual;
Protected procedure selectnone(const akey: keyty); virtual;
Protected function isloading: boolean;
Protected procedure resetselection; virtual;
Protected function componentstate: tcomponentstate;
Protected procedure buttonaction(var action: buttonactionty; const buttonindex: integer);
Protected procedure mouseevent(var info: mouseeventinfoty);
Protected procedure dokeydown(var info: keyeventinfoty);
Protected procedure internalcreateframe; virtual;
Protected procedure updatereadonlystate;
Protected procedure domousewheelevent(var info: mousewheeleventinfoty);
Protected procedure editnotification(var info: editnotificationinfoty); virtual;
Public constructor create(const intf: idropdown); reintroduce;
Public destructor destroy; override;
Public function hasdropdown(): boolean;
Public procedure dostatread(const reader: tstatreader); virtual;
Public procedure dostatwrite(const writer: tstatwriter); virtual;
Public procedure dropdown; virtual;
Public procedure canceldropdown;
Public procedure dropdownactivated;
Public procedure dropdowndeactivated;
Public function dataselected: boolean;

Properties

Public property dropdownwidget: twidget read getdropdownwidget;
Public property options: dropdowneditoptionsty read foptions write setoptions default defaultdropdownoptionsedit;
Published property color: colorty read fcolor write fcolor default cl_default;
Published property colorclient: colorty read fcolorclient write fcolorclient default cl_default;
Published property frametemplate: tframecomp read fframetemplate write setframetemplate;
Published property facetemplate: tfacecomp read ffacetemplate write setfacetemplate;

Description

Fields

Protected fowner: twidget;
 
Protected fdataselected: boolean;
 
Protected fcolor: colorty;
 
Protected fcolorclient: colorty;
 
Protected fdropdowncount: integer;
 
Protected fselectkey: keyty;
 
Protected fintf: idropdown;
 
Protected foptions: dropdowneditoptionsty;
 
Protected fstate: dropdowncontrollerstatesty;
 

Methods

Protected procedure applicationactivechanged(const avalue: boolean); virtual;
 
Protected function getbuttonframeclass: dropdownbuttonframeclassty; virtual;
 
Protected procedure updatedropdownbounds(var arect: rectty); virtual;
 
Protected procedure updatedropdownpos(const arect: rectty);
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected procedure setoptions(const Value: dropdowneditoptionsty); virtual;
 
Protected function getdropdownwidget: twidget; virtual;
 
Protected function getwidget: twidget;
 
Protected procedure dobeforedropdown; virtual;
 
Protected procedure doafterclosedropdown; virtual;
 
Protected procedure internaldropdown; virtual;
 
Protected function setdropdowntext(const avalue: msestring; const docheckvalue: boolean; const canceled: boolean; const akey: keyty): boolean;
 
Protected function candropdown: boolean; virtual;
 
Protected procedure selectnone(const akey: keyty); virtual;
 
Protected function isloading: boolean;
 
Protected procedure resetselection; virtual;
 
Protected function componentstate: tcomponentstate;
 
Protected procedure buttonaction(var action: buttonactionty; const buttonindex: integer);
 
Protected procedure mouseevent(var info: mouseeventinfoty);
 
Protected procedure dokeydown(var info: keyeventinfoty);
 
Protected procedure internalcreateframe; virtual;
 
Protected procedure updatereadonlystate;
 
Protected procedure domousewheelevent(var info: mousewheeleventinfoty);
 
Protected procedure editnotification(var info: editnotificationinfoty); virtual;
 
Public constructor create(const intf: idropdown); reintroduce;
 
Public destructor destroy; override;
 
Public function hasdropdown(): boolean;
 
Public procedure dostatread(const reader: tstatreader); virtual;
 
Public procedure dostatwrite(const writer: tstatwriter); virtual;
 
Public procedure dropdown; virtual;
 
Public procedure canceldropdown;
 
Public procedure dropdownactivated;
 
Public procedure dropdowndeactivated;
 
Public function dataselected: boolean;
 

Properties

Public property dropdownwidget: twidget read getdropdownwidget;
 
Public property options: dropdowneditoptionsty read foptions write setoptions default defaultdropdownoptionsedit;
 
Published property color: colorty read fcolor write fcolor default cl_default;
 
Published property colorclient: colorty read fcolorclient write fcolorclient default cl_default;
 
Published property frametemplate: tframecomp read fframetemplate write setframetemplate;
 
Published property facetemplate: tfacecomp read ffacetemplate write setfacetemplate;
 

Generated by PasDoc 0.16.0.