Class tcustomitemedit

Unit

Declaration

type tcustomitemedit = class(tdataedit, iitemlist, ibutton)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected factiveinfo: valueeditinfoty;
Protected fvisiblevalueeditcount: int32;
Protected flastzonewidget: twidget;
Protected flayoutinfofocused: listitemlayoutinfoty;
Protected flayoutinfocell: listitemlayoutinfoty;
Protected fentryedge: graphicdirectionty;
Protected fvalue: tlistitem;

Methods

Protected procedure valueeditchanged();
Protected procedure unregisterchildwidget(const child: twidget); override;
Protected procedure loaded(); override;
Protected procedure dofocus; override;
Protected function valuecanedit: boolean;
Protected procedure doextendimage(const cellinfopo: pcellinfoty; var ainfo: extrainfoty); virtual;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); override;
Protected procedure calclayout(const asize: sizety; out alayout: listitemlayoutinfoty);
Protected function finddataedits(aitem: tlistitem; out ainfos: recvaluearty): boolean;
Protected function updateeditwidget(): boolean;
Protected procedure childdataentered(const sender: igridwidget); override;
Protected procedure childfocused(const sender: igridwidget); override;
Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist); override;
Protected function locatecount: integer; override;
Protected function getkeystring(const index: integer): msestring; override;
Protected procedure itemchanged(const index: integer); virtual;
Protected procedure createnode(var item: tlistitem); virtual;
Protected procedure doupdatelayout(const nocolinvalidate: boolean); virtual;
Protected procedure doupdatecelllayout; virtual;
Protected function getgrid: tcustomgrid;
Protected function getlayoutinfo(const acellinfo: pcellinfoty): plistitemlayoutinfoty;
Protected procedure itemcountchanged;
Protected procedure setfirstclick(var ainfo: mouseeventinfoty); override;
Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; override;
Protected procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); override;
Protected procedure setgridintf(const intf: iwidgetgrid); override;
Protected function createdatalist(const sender: twidgetcol): tdatalist; override;
Protected procedure datalistdestroyed; override;
Protected function getdatalistclass: datalistclassty; override;
Protected procedure drawcell(const canvas: tcanvas); override;
Protected procedure valuetogrid(arow: integer); override;
Protected procedure gridtovalue(arow: integer); override;
Protected function internaldatatotext(const data): msestring; override;
Protected procedure dosetvalue(var avalue: msestring; var accept: boolean); virtual;
Protected procedure storevalue(var avalue: msestring); virtual;
Protected procedure texttovalue(var accept: boolean; const quiet: boolean); override;
Protected procedure clientrectchanged; override;
Protected procedure updatelayout();
Protected procedure doitembuttonpress(var info: mouseeventinfoty); virtual;
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected function getitemclass: listitemclassty; virtual;
Protected procedure setupeditor; override;
Protected procedure dopaintforeground(const acanvas: tcanvas); override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure getitemvalues; virtual;
Protected procedure internalcreateframe; override;
Protected procedure buttonaction(var action: buttonactionty; const buttonindex: integer); virtual;
Protected procedure mouseevent(var info: mouseeventinfoty); override;
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;
Protected function getoptionsedit: optionseditty; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure insertwidget(const awidget: twidget; const apos: pointty); override;
Public function textclipped(const arow: integer; out acellrect: rectty): boolean; overload; override;
Public function getvaluetext: msestring;
Public procedure setvaluetext(var avalue: msestring);
Public function isnull: boolean; override;
Public function item: tlistedititem;
Public function selecteditems: listedititemarty;
Public procedure beginedit;
Public procedure endedit;
Public procedure updateitemvalues(const index: integer; const count: integer); virtual;
Public procedure updateitemvalues;

Properties

Protected property editing: boolean read getediting write setediting;
Public property items[const index: integer]: tlistitem read getitems write setitems;
Public property activerow: integer read factiverow;
Published property itemlist: titemeditlist read getitemlist write setitemlist stored false;
Published property ifilink: tifistringlinkcomp read getifilink write setifilink;
Published property onsetvalue: setstringeventty read fonsetvalue write fonsetvalue;
Published property onclientmouseevent: mouseeventty read fonclientmouseevent write fonclientmouseevent;
Published property optionsedit1;
Published property optionsedit;
Published property font;
Published property passwordchar;
Published property maxlength;
Published property textflags default defaultitemedittextflags;
Published property textflagsactive default defaultitemedittextflagsactive;
Published property frame: tbuttonsframe read getframe write setframe;
Published property valueedits: tvalueedits read fvalueedits write setvalueedits;
Published property onchange;
Published property onpaintimage;
Published property onextendimage: extendimageeventty read fonextendimage write fonextendimage;
Published property onbuttonaction: buttoneventty read fonbuttonaction write fonbuttonaction;
Published property onupdaterowvalues: itemindexeventty read fonupdaterowvalues write fonupdaterowvalues;
Published property oncellevent: celleventty read foncellevent write foncellevent;
Published property oncheckcanedit: itemcanediteventty read foncheckcanedit write foncheckcanedit;

Description

Fields

Protected factiveinfo: valueeditinfoty;

This item has no description.

Protected fvisiblevalueeditcount: int32;

This item has no description.

Protected flastzonewidget: twidget;

This item has no description.

Protected flayoutinfofocused: listitemlayoutinfoty;

This item has no description.

Protected flayoutinfocell: listitemlayoutinfoty;

This item has no description.

Protected fentryedge: graphicdirectionty;

This item has no description.

Protected fvalue: tlistitem;

This item has no description.

Methods

Protected procedure valueeditchanged();

This item has no description.

Protected procedure unregisterchildwidget(const child: twidget); override;

This item has no description.

Protected procedure loaded(); override;

This item has no description.

Protected procedure dofocus; override;

This item has no description.

Protected function valuecanedit: boolean;

This item has no description.

Protected procedure doextendimage(const cellinfopo: pcellinfoty; var ainfo: extrainfoty); virtual;

This item has no description.

Protected procedure getautopaintsize(var asize: sizety); override;

This item has no description.

Protected procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); override;

This item has no description.

Protected procedure calclayout(const asize: sizety; out alayout: listitemlayoutinfoty);

This item has no description.

Protected function finddataedits(aitem: tlistitem; out ainfos: recvaluearty): boolean;

This item has no description.

Protected function updateeditwidget(): boolean;

This item has no description.

Protected procedure childdataentered(const sender: igridwidget); override;

This item has no description.

Protected procedure childfocused(const sender: igridwidget); override;

This item has no description.

Protected procedure updateifigriddata(const sender: tobject; const alist: tdatalist); override;

This item has no description.

Protected function locatecount: integer; override;

This item has no description.

Protected function getkeystring(const index: integer): msestring; override;

This item has no description.

Protected procedure itemchanged(const index: integer); virtual;

This item has no description.

Protected procedure createnode(var item: tlistitem); virtual;

This item has no description.

Protected procedure doupdatelayout(const nocolinvalidate: boolean); virtual;

This item has no description.

Protected procedure doupdatecelllayout; virtual;

This item has no description.

Protected function getgrid: tcustomgrid;

This item has no description.

Protected function getlayoutinfo(const acellinfo: pcellinfoty): plistitemlayoutinfoty;

This item has no description.

Protected procedure itemcountchanged;

This item has no description.

Protected procedure setfirstclick(var ainfo: mouseeventinfoty); override;

This item has no description.

Protected function getcellcursor(const arow: integer; const acellzone: cellzonety; const apos: pointty): cursorshapety; override;

This item has no description.

Protected procedure updatecellzone(const row: integer; const apos: pointty; var result: cellzonety); override;

This item has no description.

Protected procedure setgridintf(const intf: iwidgetgrid); override;

This item has no description.

Protected function createdatalist(const sender: twidgetcol): tdatalist; override;

This item has no description.

Protected procedure datalistdestroyed; override;

This item has no description.

Protected function getdatalistclass: datalistclassty; override;

This item has no description.

Protected procedure drawcell(const canvas: tcanvas); override;

This item has no description.

Protected procedure valuetogrid(arow: integer); override;

This item has no description.

Protected procedure gridtovalue(arow: integer); override;

This item has no description.

Protected function internaldatatotext(const data): msestring; override;

This item has no description.

Protected procedure dosetvalue(var avalue: msestring; var accept: boolean); virtual;

This item has no description.

Protected procedure storevalue(var avalue: msestring); virtual;

This item has no description.

Protected procedure texttovalue(var accept: boolean; const quiet: boolean); override;

This item has no description.

Protected procedure clientrectchanged; override;

This item has no description.

Protected procedure updatelayout();

This item has no description.

Protected procedure doitembuttonpress(var info: mouseeventinfoty); virtual;

This item has no description.

Protected procedure clientmouseevent(var info: mouseeventinfoty); override;

This item has no description.

Protected function getitemclass: listitemclassty; virtual;

This item has no description.

Protected procedure setupeditor; override;

This item has no description.

Protected procedure dopaintforeground(const acanvas: tcanvas); override;

This item has no description.

Protected procedure dokeydown(var info: keyeventinfoty); override;

This item has no description.

Protected procedure getitemvalues; virtual;

This item has no description.

Protected procedure internalcreateframe; override;

This item has no description.

Protected procedure buttonaction(var action: buttonactionty; const buttonindex: integer); virtual;

This item has no description.

Protected procedure mouseevent(var info: mouseeventinfoty); override;

This item has no description.

Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;

This item has no description.

Protected function getoptionsedit: optionseditty; override;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure insertwidget(const awidget: twidget; const apos: pointty); override;

This item has no description.

Public function textclipped(const arow: integer; out acellrect: rectty): boolean; overload; override;

This item has no description.

Public function getvaluetext: msestring;

This item has no description.

Public procedure setvaluetext(var avalue: msestring);

This item has no description.

Public function isnull: boolean; override;

This item has no description.

Public function item: tlistedititem;

This item has no description.

Public function selecteditems: listedititemarty;

This item has no description.

Public procedure beginedit;

This item has no description.

Public procedure endedit;

This item has no description.

Public procedure updateitemvalues(const index: integer; const count: integer); virtual;

This item has no description.

Public procedure updateitemvalues;

This item has no description.

Properties

Protected property editing: boolean read getediting write setediting;

This item has no description.

Public property items[const index: integer]: tlistitem read getitems write setitems;

This item has no description.

Public property activerow: integer read factiverow;

This item has no description.

Published property itemlist: titemeditlist read getitemlist write setitemlist stored false;

This item has no description.

Published property ifilink: tifistringlinkcomp read getifilink write setifilink;

This item has no description.

Published property onsetvalue: setstringeventty read fonsetvalue write fonsetvalue;

This item has no description.

Published property onclientmouseevent: mouseeventty read fonclientmouseevent write fonclientmouseevent;

This item has no description.

Published property optionsedit1;

This item has no description.

Published property optionsedit;

This item has no description.

Published property font;

This item has no description.

Published property passwordchar;

This item has no description.

Published property maxlength;

This item has no description.

Published property textflags default defaultitemedittextflags;

This item has no description.

Published property textflagsactive default defaultitemedittextflagsactive;

This item has no description.

Published property frame: tbuttonsframe read getframe write setframe;

This item has no description.

Published property valueedits: tvalueedits read fvalueedits write setvalueedits;

This item has no description.

Published property onchange;

This item has no description.

Published property onpaintimage;

This item has no description.

Published property onextendimage: extendimageeventty read fonextendimage write fonextendimage;

This item has no description.

Published property onbuttonaction: buttoneventty read fonbuttonaction write fonbuttonaction;

This item has no description.

Published property onupdaterowvalues: itemindexeventty read fonupdaterowvalues write fonupdaterowvalues;

This item has no description.

Published property oncellevent: celleventty read foncellevent write foncellevent;

This item has no description.

Published property oncheckcanedit: itemcanediteventty read foncheckcanedit write foncheckcanedit;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.