Class ttreeitemedit

Unit

Declaration

type ttreeitemedit = class(tcustomitemedit, idragcontroller)

Description

This item has no description. Showing description inherited from tmsecomponent.

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component. This unit, mseclasses, must be added to uses after classes in code that also uses a third-party unit expecting the plain FPC tcomponent (e.g. TPSScript.Create(TComponent)), since MSEgui forks the FPC classes unit.

Hierarchy

Overview

Methods

Protected procedure doitembuttonpress(var info: mouseeventinfoty); override;
Protected function locatecount: integer; override;
Protected function locatecurrentindex: integer; override;
Protected procedure locatesetcurrentindex(const aindex: integer); override;
Protected function getkeystring(const aindex: integer): msestring; override;
Protected procedure doupdatelayout(const nocolinvalidate: boolean); override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;
Protected function checkrowmove(const curindex,newindex: integer): boolean;
Protected procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); override;
Protected procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); override;
Protected function getdatalistclass: datalistclassty; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function item: ttreelistedititem;
Public function selecteditems: treelistedititemarty;
Public function candragsource(const apos: pointty): boolean;
Public procedure dragdrop(const adragobject: ttreeitemdragobject);
Public procedure comparerow(const lindex,rindex: integer; var aresult: integer);
Public procedure updateitemvalues(const index: integer; const count: integer); override;
Public procedure updateitemvalues();
Public procedure updateparentvalues(const index: integer);

Properties

Public property items[const index: integer]: ttreelistedititem read getitems write setitems; default;
Published property itemlist: ttreeitemeditlist read getitemlist write setitemlist stored false;
Published property fieldedit: trecordfieldedit read ffieldedit write setfieldedit;
Published property options: treeitemeditoptionsty read foptions write foptions default [];
Published property ifiitemlink: tifitreeitemlinkcomp read getifiitemlink write setifiitemlink;
Published property oncheckrowmove: checkmoveeventty read foncheckrowmove write foncheckrowmove;

Description

Methods

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

This item has no description.

Protected function locatecount: integer; override;

This item has no description.

Protected function locatecurrentindex: integer; override;

This item has no description.

Protected procedure locatesetcurrentindex(const aindex: integer); override;

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

Protected function checkrowmove(const curindex,newindex: integer): boolean;

This item has no description.

Protected procedure beforecelldragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); override;

This item has no description.

Protected procedure aftercelldragevent(var ainfo: draginfoty; const arow: integer; var processed: boolean); override;

This item has no description.

Protected function getdatalistclass: datalistclassty; 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 function item: ttreelistedititem;

This item has no description.

Public function selecteditems: treelistedititemarty;

This item has no description.

Public function candragsource(const apos: pointty): boolean;

This item has no description.

Public procedure dragdrop(const adragobject: ttreeitemdragobject);

This item has no description.

Public procedure comparerow(const lindex,rindex: integer; var aresult: integer);

This item has no description.

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

This item has no description.

Public procedure updateitemvalues();

This item has no description.

Public procedure updateparentvalues(const index: integer);

This item has no description.

Properties

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

This item has no description.

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

Like all item-edit widgets, ttreeitemedit must be placed into a twidgetgrid — it does not work standalone; this is how MSEgui implements a tree view. itemlist maps the tree items (ttreelistedititem) to grid cells; its defaultnodestate initializes newly created root nodes (e.g. include ns_expanded to have them start expanded). Note that a grid cell's selected state is independent from a tree item's own selected state.

Published property fieldedit: trecordfieldedit read ffieldedit write setfieldedit;

This item has no description.

Published property options: treeitemeditoptionsty read foptions write foptions default [];

This item has no description.

Published property ifiitemlink: tifitreeitemlinkcomp read getifiitemlink write setifiitemlink;

This item has no description.

Published property oncheckrowmove: checkmoveeventty read foncheckrowmove write foncheckrowmove;

This item has no description.


Generated by PasDoc 1.0.4.