Class tcustomeditwidgetdatalink

Unit

Declaration

type tcustomeditwidgetdatalink = class(tfielddatalink, idbeditinfo, iobjectlink)

Description

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

Hierarchy

Overview

Fields

Protected fintf: idbeditfieldlink;
Protected foptions: optionseditdbty;
Protected fobjectlinker: tobjectlinker;

Methods

Protected function datasourcereadonly(): boolean override;
Protected function getobjectlinker: tobjectlinker;
Protected function getdatasource1: tdatasource;
Protected procedure dataevent(event: tdataevent; info: ptrint); override;
Protected procedure activechanged; override;
Protected procedure editingchanged; override;
Protected procedure focuscontrol(afield: tfieldref); override;
Protected procedure updatedata; override;
Protected procedure disabledstatechange; override;
Protected procedure fieldchanged; override;
Protected procedure bindingchanged;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
Protected procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false);
Protected procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil);
Protected procedure objevent(const sender: iobjectlink; const event: objecteventty);
Protected function getinstance: tobject;
Protected function getdataset(const aindex: integer): tdataset;
Protected procedure getfieldtypes(out apropertynames: stringarty; out afieldtypes: fieldtypesarty); virtual;
Protected procedure updateoptionsedit(var avalue: optionseditty); override;
Protected procedure valuechanged(const sender: iifidatalink); override;
Public constructor create(const intf: idbeditfieldlink);
Public destructor destroy; override;
Public procedure fixupproperties(filer: tfiler);
Public procedure recordchanged(afield: tfield); override;
Public procedure datasetscrolled(distance: integer) override;
Public procedure nullcheckneeded(var avalue: boolean);
Public procedure setwidgetdatasource(const avalue: tdatasource);
Public procedure griddatasourcechanged;
Public function edit: Boolean;
Public procedure modified;
Public procedure doshortcut(var info: keyeventinfoty; const sender: twidget);
Public function cuttext(const atext: msestring; out maxlength: integer): boolean;

Properties

Public property options: optionseditdbty read foptions write setoptions default defaulteditwidgetdatalinkoptions;
Public property asnullmsestring: msestring read getasnullmsestring write setasnullmsestring;
Public property navigator: tdbnavigator read fnavigator write setnavigator;
Public property onbeginedit: notifyeventty read fonbeginedit write fonbeginedit;
Public property onendedit: notifyeventty read fonendedit write fonendedit;
Public property ondataentered: notifyeventty read fondataentered write fondataentered;
Public property owner: twidget read getownerwidget;

Description

Fields

Protected fintf: idbeditfieldlink;
 
Protected foptions: optionseditdbty;
 
Protected fobjectlinker: tobjectlinker;
 

Methods

Protected function datasourcereadonly(): boolean override;
 
Protected function getobjectlinker: tobjectlinker;
 
Protected function getdatasource1: tdatasource;
 
Protected procedure dataevent(event: tdataevent; info: ptrint); override;
 
Protected procedure activechanged; override;
 
Protected procedure editingchanged; override;
 
Protected procedure focuscontrol(afield: tfieldref); override;
 
Protected procedure updatedata; override;
 
Protected procedure disabledstatechange; override;
 
Protected procedure fieldchanged; override;
 
Protected procedure bindingchanged;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); virtual;
 
Protected procedure link(const source,dest: iobjectlink; valuepo: pointer = nil; ainterfacetype: pointer = nil; once: boolean = false);
 
Protected procedure unlink(const source,dest: iobjectlink; valuepo: pointer = nil);
 
Protected procedure objevent(const sender: iobjectlink; const event: objecteventty);
 
Protected function getinstance: tobject;
 
Protected function getdataset(const aindex: integer): tdataset;
 
Protected procedure getfieldtypes(out apropertynames: stringarty; out afieldtypes: fieldtypesarty); virtual;
 
Protected procedure updateoptionsedit(var avalue: optionseditty); override;
 
Protected procedure valuechanged(const sender: iifidatalink); override;
 
Public constructor create(const intf: idbeditfieldlink);
 
Public destructor destroy; override;
 
Public procedure fixupproperties(filer: tfiler);
 
Public procedure recordchanged(afield: tfield); override;
 
Public procedure datasetscrolled(distance: integer) override;
 
Public procedure nullcheckneeded(var avalue: boolean);
 
Public procedure setwidgetdatasource(const avalue: tdatasource);
 
Public procedure griddatasourcechanged;
 
Public function edit: Boolean;
 
Public procedure modified;
 
Public procedure doshortcut(var info: keyeventinfoty; const sender: twidget);
 
Public function cuttext(const atext: msestring; out maxlength: integer): boolean;
 

Properties

Public property options: optionseditdbty read foptions write setoptions default defaulteditwidgetdatalinkoptions;
 
Public property asnullmsestring: msestring read getasnullmsestring write setasnullmsestring;
 
Public property navigator: tdbnavigator read fnavigator write setnavigator;
 
Public property onbeginedit: notifyeventty read fonbeginedit write fonbeginedit;
 
Public property onendedit: notifyeventty read fonendedit write fonendedit;
 
Public property ondataentered: notifyeventty read fondataentered write fondataentered;
 
Public property owner: twidget read getownerwidget;
 

Generated by PasDoc 0.16.0.