Class tgriddatalink

Unit

Declaration

type tgriddatalink = class(tfieldsdatalink, ievent, idbeditinfo, iobjectlink)

Description

No description available, ancestor tfieldsdatalink description follows
No description available, ancestor tmsedatalink description follows

Hierarchy

Overview

Methods

Protected function canautoinsert: boolean;
Protected procedure checkdelayedautoinsert;
Protected function checkvalue: boolean;
Protected procedure updatelayout;
Protected procedure updaterowcount;
Protected function begingridrow(const arow: integer; out ainfo: gridrowinfoty): boolean;
Protected procedure endgridrow(const ainfo: gridrowinfoty);
Protected function getfirstrecord: integer; virtual;
Protected procedure checkactiverecord; virtual;
Protected function getrecordcount: integer; override;
Protected procedure datasetscrolled(distance: integer); override;
Protected procedure fieldchanged; override;
Protected procedure activechanged; override;
Protected procedure editingchanged; override;
Protected procedure recordchanged(afield: tfield); override;
Protected procedure datasetchanged; override;
Protected procedure updatedata; override;
Protected procedure updatefields; override;
Protected procedure focuscell(var cell: gridcoordty); virtual;
Protected procedure cellevent(var info: celleventinfoty); virtual;
Protected procedure invalidateindicator;
Protected function scrollevent(sender: tcustomscrollbar; event: scrolleventty): boolean; virtual;
Protected procedure doinsertrow;
Protected procedure doappendrow;
Protected procedure dodeleterow;
Protected procedure rowdown;
Protected procedure lastrow;
Protected procedure firstrow;
Protected function getzebrastart: integer;
Protected procedure gridinvalidate;
Protected function arecord: integer;
Protected function hasdata: boolean;
Protected procedure readdatasource(reader: treader);
Protected procedure fixupproperties(filer: tfiler);
Protected procedure defineproperties(filer: tfiler); override;
Public constructor create(const aowner: tcustomgrid; const aintf: igriddatalink);
Public destructor destroy; override;
Public function getdummystringbuffer: pansistring;
Public function getrowfieldisnull(const afield: tfield; const row: integer): boolean;
Public function getansistringbuffer(const afield: tfield; const row: integer): pointer;
Public function getstringbuffer(const afield: tfield; const row: integer): pointer;
Public function getdisplaystringbuffer(const afield: tfield; const row: integer): pointer;
Public function getbooleanbuffer(const afield: tfield; const row: integer): pointer;
Public function getintegerbuffer(const afield: tfield; const row: integer): pointer;
Public function getint64buffer(const afield: tfield; const row: integer): pointer;
Public function getrealtybuffer(const afield: tfield; const row: integer): pointer;
Public function getdatetimebuffer(const afield: tfield; const row: integer): pointer;
Public function canclose(const newfocus: twidget): boolean;
Public procedure painted;
Public procedure loaded;
Public procedure doshortcut(var info: keyeventinfoty; const sender: twidget);
Public procedure setselected(const cell: gridcoordty; const avalue: boolean);
Public procedure beforefocuscell(const cell: gridcoordty; const selectaction: focuscellactionty);
Public function domoveby(const distance: integer): integer; virtual;
Public function moveby(distance: integer): integer; override;
Public function rowtorecnozerobased(const row: integer): integer;
Public function isfirstrow: boolean;
Public function islastrow: boolean;

Properties

Public property firstrecord: integer read getfirstrecord;
Public property owner: tcustomgrid read fgrid;
Public property field_state: tfield read ffield_state;
Public property field_color: tfield read ffield_color;
Public property field_font: tfield read ffield_font;
Public property field_readonly: tfield read ffield_readonly;
Public property field_merged: tfield read ffield_merged;
Public property field_selected: tfield read ffield_selected;
Published property options: griddatalinkoptionsty read foptions write foptions default defaultgriddatalinkoptions;
Published property onupdaterowdata: updaterowdataeventty read fonupdaterowdata write fonupdaterowdata;
Published property datasource: tdatasource read getdatasource1 write settadasource1;
Published property fieldname_state: string read ffieldname_state write setfieldname_state;
Published property fieldname_color: string read ffieldname_color write setfieldname_color;
Published property fieldname_font: string read ffieldname_font write setfieldname_font;
Published property fieldname_readonly: string read ffieldname_readonly write setfieldname_readonly;
Published property fieldname_merged: string read ffieldname_merged write setfieldname_merged;
Published property fieldname_selected: string read ffieldname_selected write setfieldname_selected;
Published property navigator: tdbnavigator read fnavigator write setnavigator;
Published property onbeginedit: notifyeventty read fonbeginedit write fonbeginedit;
Published property onendedit: notifyeventty read fonendedit write fonendedit;

Description

Methods

Protected function canautoinsert: boolean;
 
Protected procedure checkdelayedautoinsert;
 
Protected function checkvalue: boolean;
 
Protected procedure updatelayout;
 
Protected procedure updaterowcount;
 
Protected function begingridrow(const arow: integer; out ainfo: gridrowinfoty): boolean;
 
Protected procedure endgridrow(const ainfo: gridrowinfoty);
 
Protected function getfirstrecord: integer; virtual;
 
Protected procedure checkactiverecord; virtual;
 
Protected function getrecordcount: integer; override;
 
Protected procedure datasetscrolled(distance: integer); override;
 
Protected procedure fieldchanged; override;
 
Protected procedure activechanged; override;
 
Protected procedure editingchanged; override;
 
Protected procedure recordchanged(afield: tfield); override;
 
Protected procedure datasetchanged; override;
 
Protected procedure updatedata; override;
 
Protected procedure updatefields; override;
 
Protected procedure focuscell(var cell: gridcoordty); virtual;
 
Protected procedure cellevent(var info: celleventinfoty); virtual;
 
Protected procedure invalidateindicator;
 
Protected function scrollevent(sender: tcustomscrollbar; event: scrolleventty): boolean; virtual;
 
Protected procedure doinsertrow;
 
Protected procedure doappendrow;
 
Protected procedure dodeleterow;
 
Protected procedure rowdown;
 
Protected procedure lastrow;
 
Protected procedure firstrow;
 
Protected function getzebrastart: integer;
 
Protected procedure gridinvalidate;
 
Protected function arecord: integer;
 
Protected function hasdata: boolean;
 
Protected procedure readdatasource(reader: treader);
 
Protected procedure fixupproperties(filer: tfiler);
 
Protected procedure defineproperties(filer: tfiler); override;
 
Public constructor create(const aowner: tcustomgrid; const aintf: igriddatalink);
 
Public destructor destroy; override;
 
Public function getdummystringbuffer: pansistring;
 
Public function getrowfieldisnull(const afield: tfield; const row: integer): boolean;
 
Public function getansistringbuffer(const afield: tfield; const row: integer): pointer;
 
Public function getstringbuffer(const afield: tfield; const row: integer): pointer;
 
Public function getdisplaystringbuffer(const afield: tfield; const row: integer): pointer;
 
Public function getbooleanbuffer(const afield: tfield; const row: integer): pointer;
 
Public function getintegerbuffer(const afield: tfield; const row: integer): pointer;
 
Public function getint64buffer(const afield: tfield; const row: integer): pointer;
 
Public function getrealtybuffer(const afield: tfield; const row: integer): pointer;
 
Public function getdatetimebuffer(const afield: tfield; const row: integer): pointer;
 
Public function canclose(const newfocus: twidget): boolean;
 
Public procedure painted;
 
Public procedure loaded;
 
Public procedure doshortcut(var info: keyeventinfoty; const sender: twidget);
 
Public procedure setselected(const cell: gridcoordty; const avalue: boolean);
 
Public procedure beforefocuscell(const cell: gridcoordty; const selectaction: focuscellactionty);
 
Public function domoveby(const distance: integer): integer; virtual;
 
Public function moveby(distance: integer): integer; override;
 
Public function rowtorecnozerobased(const row: integer): integer;
 
Public function isfirstrow: boolean;
 
Public function islastrow: boolean;
 

Properties

Public property firstrecord: integer read getfirstrecord;
 
Public property owner: tcustomgrid read fgrid;
 
Public property field_state: tfield read ffield_state;
 
Public property field_color: tfield read ffield_color;
 
Public property field_font: tfield read ffield_font;
 
Public property field_readonly: tfield read ffield_readonly;
 
Public property field_merged: tfield read ffield_merged;
 
Public property field_selected: tfield read ffield_selected;
 
Published property options: griddatalinkoptionsty read foptions write foptions default defaultgriddatalinkoptions;
 
Published property onupdaterowdata: updaterowdataeventty read fonupdaterowdata write fonupdaterowdata;
 
Published property datasource: tdatasource read getdatasource1 write settadasource1;
 
Published property fieldname_state: string read ffieldname_state write setfieldname_state;
 
Published property fieldname_color: string read ffieldname_color write setfieldname_color;
 
Published property fieldname_font: string read ffieldname_font write setfieldname_font;
 
Published property fieldname_readonly: string read ffieldname_readonly write setfieldname_readonly;
 
Published property fieldname_merged: string read ffieldname_merged write setfieldname_merged;
 
Published property fieldname_selected: string read ffieldname_selected write setfieldname_selected;
 
Published property navigator: tdbnavigator read fnavigator write setnavigator;
 
Published property onbeginedit: notifyeventty read fonbeginedit write fonbeginedit;
 
Published property onendedit: notifyeventty read fonendedit write fonendedit;
 

Generated by PasDoc 0.16.0.