Class tcustomstringgrid

Unit

Declaration

type tcustomstringgrid = class(tcellgrid, iedit)

Description

No description available, ancestor tcellgrid description follows
No description available, ancestor tcustomgrid description follows
No description available, ancestor tpublishedwidget description follows
No description available, ancestor tpublishedwidgetnwr description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected feditor: tinplaceedit;

Methods

Protected procedure setupeditor(const acell: gridcoordty; const focusin: boolean); virtual;
Protected procedure dofontheightdelta(var delta: integer); override;
Protected procedure checkcellvalue(var accept: boolean); override;
Protected procedure rootchanged(const aflags: rootchangeflagsty); override;
Protected procedure updatelayout; override;
Protected procedure firstcellclick(const cell: gridcoordty; var info: mouseeventinfoty); override;
Protected function createdatacols: tdatacols; override;
Protected procedure docellevent(var info: celleventinfoty); override;
Protected procedure drawfocusedcell(const canvas: tcanvas); override;
Protected procedure scrolled(const dist: pointty); override;
Protected function getcaretcliprect: rectty; override;
Protected function currentdatalist: tmsestringdatalist;
Protected function getoptionsedit: optionseditty; virtual;
Protected procedure editnotification(var info: editnotificationinfoty); virtual;
Protected function hasselection: boolean;
Protected procedure updatecopytoclipboard(var atext: msestring);
Protected procedure updatepastefromclipboard(var atext: msestring);
Protected function locatecount: integer;
Protected function locatecurrentindex: integer;
Protected procedure locatesetcurrentindex(const aindex: integer);
Protected function getkeystring(const aindex: integer): msestring;
Protected function getedited: boolean;
Protected procedure rowstatechanged(const arow: integer); override;
Protected procedure dofocusedcellposchanged; override;
Protected procedure focusedcellchanged; override;
Protected procedure checkrowreadonlystate; override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
Protected procedure doactivate; override;
Protected procedure dodeactivate; override;
Protected procedure doselectionchanged; override;
Protected procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override;
Protected function getassistivecaretindex(): int32; override;
Protected function getassistivecelltext(const acell: gridcoordty; out aflags: assistiveflagsty): msestring; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure initnewcomponent(const ascale: real) override;
Public procedure synctofontheight; override;
Public function canclose(const newfocus: twidget): boolean; override;
Public function textclipped(const acell: gridcoordty; out acellrect: rectty): boolean; overload;
Public function textclipped(const acell: gridcoordty): boolean; overload;
Public function appendrow(const value: array of msestring; const ashowlastrow: boolean = false): integer; overload;
Public function appendrow(const value: msestringarty; const ashowlastrow: boolean = false): integer; overload;
Public function appendrow(const value: msestring; const ashowlastrow: boolean = false): integer; overload;
Public function appenddatarow(const value: array of msestring): integer; overload;
Public function appenddatarow(const value: msestringarty): integer; overload;
Public function appenddatarow(const value: msestring): integer; overload;
Public function copyselection: boolean; override;
Public function pasteselection: boolean; override;

Properties

Protected property cols[index:integer]: tstringcol read getcols write setcols;
Public property items[constcell:gridcoordty]: msestring read getitems write setitems;
Public property datacols: tstringcols read getdatacols write setdatacols;
Public property caretwidth: integer read getcaretwidth write setcaretwidth default defaultcaretwidth;

Description

Fields

Protected feditor: tinplaceedit;
 

Methods

Protected procedure setupeditor(const acell: gridcoordty; const focusin: boolean); virtual;
 
Protected procedure dofontheightdelta(var delta: integer); override;
 
Protected procedure checkcellvalue(var accept: boolean); override;
 
Protected procedure rootchanged(const aflags: rootchangeflagsty); override;
 
Protected procedure updatelayout; override;
 
Protected procedure firstcellclick(const cell: gridcoordty; var info: mouseeventinfoty); override;
 
Protected function createdatacols: tdatacols; override;
 
Protected procedure docellevent(var info: celleventinfoty); override;
 
Protected procedure drawfocusedcell(const canvas: tcanvas); override;
 
Protected procedure scrolled(const dist: pointty); override;
 
Protected function getcaretcliprect: rectty; override;
 
Protected function currentdatalist: tmsestringdatalist;
 
Protected function getoptionsedit: optionseditty; virtual;
 
Protected procedure editnotification(var info: editnotificationinfoty); virtual;
 
Protected function hasselection: boolean;
 
Protected procedure updatecopytoclipboard(var atext: msestring);
 
Protected procedure updatepastefromclipboard(var atext: msestring);
 
Protected function locatecount: integer;
 
Protected function locatecurrentindex: integer;
 
Protected procedure locatesetcurrentindex(const aindex: integer);
 
Protected function getkeystring(const aindex: integer): msestring;
 
Protected function getedited: boolean;
 
Protected procedure rowstatechanged(const arow: integer); override;
 
Protected procedure dofocusedcellposchanged; override;
 
Protected procedure focusedcellchanged; override;
 
Protected procedure checkrowreadonlystate; override;
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure clientmouseevent(var info: mouseeventinfoty); override;
 
Protected procedure doactivate; override;
 
Protected procedure dodeactivate; override;
 
Protected procedure doselectionchanged; override;
 
Protected procedure updatepopupmenu(var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty); override;
 
Protected function getassistivecaretindex(): int32; override;
 
Protected function getassistivecelltext(const acell: gridcoordty; out aflags: assistiveflagsty): msestring; override;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure initnewcomponent(const ascale: real) override;
 
Public procedure synctofontheight; override;
 
Public function canclose(const newfocus: twidget): boolean; override;
 
Public function textclipped(const acell: gridcoordty; out acellrect: rectty): boolean; overload;
 
Public function textclipped(const acell: gridcoordty): boolean; overload;
 
Public function appendrow(const value: array of msestring; const ashowlastrow: boolean = false): integer; overload;
 
Public function appendrow(const value: msestringarty; const ashowlastrow: boolean = false): integer; overload;
 
Public function appendrow(const value: msestring; const ashowlastrow: boolean = false): integer; overload;
 
Public function appenddatarow(const value: array of msestring): integer; overload;
 
Public function appenddatarow(const value: msestringarty): integer; overload;
 
Public function appenddatarow(const value: msestring): integer; overload;
 
Public function copyselection: boolean; override;
 
Public function pasteselection: boolean; override;
 

Properties

Protected property cols[index:integer]: tstringcol read getcols write setcols;
 
Public property items[constcell:gridcoordty]: msestring read getitems write setitems;
 
Public property datacols: tstringcols read getdatacols write setdatacols;
 
Public property caretwidth: integer read getcaretwidth write setcaretwidth default defaultcaretwidth;
 

Generated by PasDoc 0.16.0.