0% found this document useful (0 votes)
30 views

Dev Express Objects, Structures and Variables Reference

Uploaded by

ingi.svair
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Dev Express Objects, Structures and Variables Reference

Uploaded by

ingi.svair
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 77

2 Table of Contents

Table of Contents

TdxDBGridLayout 4

TdxDBGridLayout Properties 5

TdxDBGridLayout Methods 6

TdxDBGridLayoutList 8

TdxDBGridLayoutList Properties 9

TdxDBGridLayoutList Methods 10

TdxTreeListNode 11

TdxTreeListNode Properties 12

TdxTreeListNode Methods 18

TdxTreeListTextNode 25

TdxTreeListTextNode Properties 26

TdxTreeListTextNode Methods 26

TdxDBTreeListControlNode 27

TdxDBTreeListControlNode Properties 28

TdxDBTreeListControlNode Methods 30

TdxDBTreeListNode 31

TdxDBTreeListNode Properties 32

TdxDBTreeListNode Methods 33

TdxDBGridNode 34

TdxDBGridNode Properties 35

TdxDBGridNode Methods 37

TdxDBTreeListControlDataLink 38

TdxDBTreeListControlDataLink Properties 39

Copyright © 2000 Developer Express Inc. www.devexpress.com


LayoutList property 3

TdxDBTreeListControlDataLink Methods 40

TdxDBTreeListDataLink 41

TdxDBTreeListDataLink Properties 42

TdxDBTreeListDataLink Methods 42

TdxGridDataLink 43

TdxGridDataLink Properties 44

TdxGridDataLink Methods 44

TdxDBGridSummaryItem 45

TdxDBGridSummaryItem Properties 46

TdxDBGridSummaryItem Methods 48

TdxDBGridSummaryItem Events 49

TdxDBGridSummaryItems 50

TdxDBGridSummaryItems Properties 51

TdxDBGridSummaryItems Methods 52

TdxDBGridSummaryGroup 53

TdxDBGridSummaryGroup Properties 54

TdxDBGridSummaryGroup Methods 56

TdxDBGridSummaryGroup Events 57

TdxDBGridSummaryGroups 58

TdxDBGridSummaryGroups Properties 59

TdxDBGridSummaryGroups Methods 60

Structures 61

Global Variables and Procedures 67

Index 76

ExpressQuantumGrid Suite Professional by Developer Express


4 TdxDBGridLayout

TdxDBGridLayout
Allows you to store/restore ExpressQuantumGrid properties at runtime.

Unit
dxLayout

TdxDBGridLayout = class(TComponent);

Description
With the ExpressQuantumGrid Layout component, you can create several grid layouts at design time
and use only a single ExpressQuantumGrid to access different DataSources or use the same
DataSource with different ExpressQuantumGrid layouts.

Use the Assign, AssignTo methods to store/restore the ExpressQuantumGrid layouts at runtime.

Use the TdxDBGridLayoutList component editor to add, delete and edit TdxDBGridLayout at design
time.

Hierarchy
TObject
TPersistent
TComponent

Copyright © 2000 Developer Express Inc. www.devexpress.com


LayoutList property 5

TdxDBGridLayout Properties
LayoutList public / read / write
Active public / read / write

LayoutList property read / write


Returns the grid layout list to which a particular grid layout belongs.

property LayoutList: TdxDBGridLayoutList;

Description
Use the LayoutList property to access the grid layout list to which a particular grid layout belongs.

Active property read / write


Enables the ExpressQuantumGrid Layout component.

property Active: Boolean;

Description
Use the Active property to make the layout active.

ExpressQuantumGrid Suite Professional by Developer Express


6 TdxDBGridLayout Methods

TdxDBGridLayout Methods
Assign public Clear public
AssignTo public RestoreDefault public

Assign method
Assigns Source properties to the grid layout.

procedure Assign(Source: TPersistent);

Description
Call the Assign method to assign Source properties to the grid layout. Source may be another grid
layout or only the ExpressQuantumGrid.

See Also
TdxDBGridLayout.AssignTo

AssignTo method
Assign properties to the Dest object.

procedure AssignTo(Dest: TPersistent);.


Description
Call AssignTo to assign properties to the Dest object. Dest may be another grid layout or only the
ExpressQuantumGrid.

See Also
TdxDBGridLayout.Assign

Clear method

procedure Clear;

Description
Call this method to clear all settings used by a TdxDBGridLayout object for a grid.

RestoreDefault method
Restores the default property value of the ExpressQuantumGrid.

procedure RestoreDefault(ADBGrid: TdxDBGrid);

Copyright © 2000 Developer Express Inc. www.devexpress.com


7

Description
Call the RestoreDefault method to restore default properties of the ExpressQuantumGrid.

ExpressQuantumGrid Suite Professional by Developer Express


8 TdxDBGridLayoutList

TdxDBGridLayoutList
Contains an array of TdxDBGridLayout components.

Unit
dxLayout

TdxDBGridLayoutList = class(TComponent);

Description
Use the TdxDBGridLayoutList component editor to add, delete and edit TdxDBGridLayout at design
time.

Hierarchy
TObject
TPersistent
TComponent

Using the following code, you can assign layout data to a grid and as a result, the grid will change its
view according to the assigned settings.

dxDBGridLayout1 is a TdxDBGridLayout instance.

// Delphi
dxDBGridLayout1.AssignTo(dxDBGrid1);

// C++Builder
dxDBGridLayout1->AssignTo(dxDBGrid1);

The following method assigns the current grid view to the layout.

// Delphi
dxDBGridLayout1.Assign(dxDBGrid1);

// C++Builder
dxDBGridLayout1->Assign(dxDBGrid1);

Copyright © 2000 Developer Express Inc. www.devexpress.com


Count property 9

TdxDBGridLayoutList Properties
Count public / read only
Items public / read / write

Count property read only


Returns the count of grid layout components.

property Count: Integer;

Description
Use the Count property to get the count of grid layout components.

See Also
TdxDBGridLayoutList.Items

Items proeprty read / write


Points to the list of grid layout components of an object for a grid layout list.

property Items[Index: Integer]: TdxDBGridLayout;

Description
Use Items to access grid layout components. You can access a given grid layout via its index in the
Items array.

See Also
TdxDBGridLayoutList.Items

ExpressQuantumGrid Suite Professional by Developer Express


10 TdxDBGridLayoutList Methods

TdxDBGridLayoutList Methods
AddLayout public
ClearItems public

AddLayout method
Adds a new grid layout component.

function AddLayout: TdxDBGridLayout;

Description
Call AddLayout to create a grid layout for TdxDBGridLayoutList. A new TdxDBGridLayout object is
placed at the end of the Items array. AddLayout returns the newly created TdxDBGridLayout.

See Also
TdxDBGridLayoutList.Items

ClearItems method
Destroys all grid layout components.

procedure ClearItems;

Description
Call the ClearItems method to destroy all grid layout components.

See Also
TdxDBGridLayoutList.Count; TdxDBGridLayoutList.Items

Copyright © 2000 Developer Express Inc. www.devexpress.com


11

TdxTreeListNode

Unit
dxTL

TdxTreeListNode = class(TObject);

Description
Each TdxTreeListNode consists of a label and a set of columns. Column values are stored in the
TdxTreeListNode Values property. You can access values of a given column by the column index in
the Values array. Each node can be the parent of the subnodes list. Users can expand or collapse
the associated list of subnodes by double-click of any column of a node.

Hierarchy
TObject

ExpressQuantumGrid Suite Professional by Developer Express


12 TdxTreeListNode Properties

TdxTreeListNode Properties
AbsoluteIndex public / read only IsVisible public / read only
Count public / read only Items public / read only
CountValues public / read only Level public / read only
Data public / read / write Owner public / read only
Deleting public / read only Parent public / read only
Expanded public / read / write Selected public / read / write
Focused public / read / write SelectedIndex public / read / write
HasChildren public / read / write StateIndex public / read / write
ImageIndex public / read / write Strings public / read / write
Index public / read only Values public / read / write
IsLast public / read only

AbsoluteIndex property read only


Indicates the index of TdxTreeListNode relative to the first node in TdxTreeList.

property AbsoluteIndex : Integer;

Description
Use AbsoluteIndex to determine absolute position of a node in the tree list Nodes array. The first tree
node in a tree list has the index of 0 and subsequent nodes are numbered sequentially. If
TdxTreeListNode has children, its AbsoluteIndex is one less than the index of its first child.

See Also
TdxTreeListNode.Index; TdxTreeListNode.Level

Count property read only


Indicates the number of TdxTreeListNode direct descendants.

property Count : Integer;

Description
Use Count to determine how many child nodes belong to a given TdxTreeListNode. Count includes
only direct children. Count can be useful when iterating through the node’s children.

See Also
TdxTreeListNode.HasChildren; TdxTreeListNode.Items

CountValues property read only


Returns the number of elements in the Values array.

Copyright © 2000 Developer Express Inc. www.devexpress.com


Data property 13

property CountValues: Integer;

Description
TdxTreeListNode can have several columns. Values of these columns are stored in the Values
property. The CountValues property returns the number of column values in a node.

See Also
TdxTreeListNode.Values; TdxTreeListNode.Count

Data property read/write


Points to application-defined data associated with TdxTreeListNode.

property Data: Pointer;

Description
Use the Data property to associate data with TdxTreeListNode. Data allows applications to quickly
access information on an entity represented by a node.

Deleting property read only


Indicates whether the TdxTreeListNode's Destroy method has been called and a node is in the
process of being deleted.

property Deleting: Boolean;

Description
Use Deleting to prevent recursive attempts to delete a given TdxTreeListNode.

Expanded property read/write


Determines whether TdxTreeListNode is expanded.

property Expanded : Boolean;

Description
When a tree node is expanded, the minus button is shown if the ShowButtons property of a tree list is
True and child nodes are displayed. Set Expanded to True to display TdxTreeListNode children. Set
Expanded to False to collapse TdxTreeListNode, hiding all its descendants.

Focused property read/write


Indicates whether TdxTreeListNode has focus.

property Focused : Boolean;

ExpressQuantumGrid Suite Professional by Developer Express


14 TdxTreeListNode Properties

Description
TdxTreeListNode objects are not windowed controls. However, they can be edited when a tree list
has focus. When Focused is True, a node is surrounded by the standard focus rectangle and users
can edit one of a node's columns. Use Focused to determine if a particular node in a tree list has
focus.

See Also
TdxTreeListNode.Selected

HasChildren property read/write


Specifies whether TdxTreeListNode has children.

property HasChildren : Boolean;

Description
HasChildren is True if a node has subnodes, otherwise False. If ShowButtons of a tree list is True and
HasChildren is True, a plus (+) button appears to the left of a node when it is collapsed, and a minus (-
) button will appear when a node is expanded.

See Also
TdxTreeListNode.Count; TdxTreeListNode.Items; TdxTreeListNode.GetPriorParentNode;
TdxTreeListNode.HasAsParent

ImageIndex property read/write


Determines an image associated with TdxTreeListNode.

property ImageIndex : Integer;

Description
Specifies which image is displayed when a node is in its normal state and is currently selected. Use
the ImageIndex property with the Images property of TdxTreeList to specify an image for
TdxTreeListNode in its normal state.

See Also
TdxTreeListNode.SelectedIndex; TdxTreeListNode.StateIndex

Index property read only


Specifies position of a TdxTreeListNode in the list of child nodes maintained by its parent node.

property Index : Integer;

Description
The Index property determines position of a given TdxTreeListNode in the Items array of its parent
node. The index of the first child of a parent node is 0.

Copyright © 2000 Developer Express Inc. www.devexpress.com


IsLast property 15

IsLast property read only


Specifies whether a given TdxTreeListNode object is the last node in the list of child nodes,
maintained by a parent node.

property IsLast : Boolean;

Description
The IsLast property returns True if TdxTreeListNode is the last node in the Items array of the parent
TdxTreeListNode; Otherwise False.

IsVisible property read only


Determines whether TdxTreeListNode is visible.

property IsVisible : Boolean;

Description
If the parent node of a given node is collapsed, a given TdxTreeListNode is invisible, and the IsVisible
property returns False. Otherwise, IsVisible returns True.

See Also
TCustomdxTreeList.MakeNodeVisible; TdxTreeListNode.MakeVisible

Items property read only


Contains an array of child nodes.

property Items[Index:Integer] : TdxTreeListNode;

Description
This property provides access to child node by their position in the list of child nodes. Use Items to
access a particular child of a given node, based on its Index property. Index of the first child node is 0.
The total amount of TdxTreeListNode child objects is returned by the Count property.

See Also
TdxTreeListNode.Count; TdxTreeListNode.Level

Level property read only


Specifies the indentation level of TdxTreeListNodes within the TdxTreeView control.

property Level : Integer;

Description
Value of the Level property is 0 for nodes at the topmost level, for their children it is 1, etc.

ExpressQuantumGrid Suite Professional by Developer Express


16 TdxTreeListNode Properties

See Also
TdxTreeListNode.AbsoluteIndex

Owner property read only


Specifies the owner of a TdxTreeListNode object.

property Owner : TCustomdxTreeList;

Description
The Owner property determines the TdxTreeListNode owner. The owner for the TdxTreeListNode
object is the TCustomdxTreeList object that manages nodes.

Parent property read only


Specifies the parent node for a TdxTreeListNode object.

property Parent : TdxTreeListNode;

Description
The parent node is one level higher than a given node and contains the given node as a subnode.

Selected property read/write


Determines whether a given TdxTreeListNode is selected.

property Selected : Boolean;

Description
Set Selected to True to select a node. TdxTreeListNode is selected if it has focus or it is included in
multi-selection. When a node is selected, the OnSelectedCountChange event of TdxTreeList is
generated.

See Also
TCustomdxTreeList.OnCanNodeSelected; TdxTreeListNode.Focused;
TdxTreeListNode.SelectedIndex

SelectedIndex property read/write


Specifies the index of an image, displayed for a node, when it is selected in the image list of
TdxTreeList.

property SelectedIndex : Integer;

Description
Use the SelectedIndex property to specify an image to display when TdxTreeListNode is selected. If
SelectedIndex is -1, then there is no image drawn when the node is selected.

Copyright © 2000 Developer Express Inc. www.devexpress.com


StateIndex property 17

See Also
TdxTreeListNode.ImageIndex; TdxTreeListNode.StateIndex

StateIndex property read/write


Indicates which image from the StateImages list to display for a node.

property StateIndex : Integer;

Description
Use StateIndex to display an additional image for TdxTreeListNode that reflects state information. If
StateIndex is –1, then no state image is drawn.

See Also
TdxTreeListNode.ImageIndex; TdxTreeListNode.SelectedIndex

Strings property read/write


Contains strings that appear as column text of a TdxTreeList node.

property Strings[Column : Integer] : String;

Description
Use Strings to add strings that appear in columns of a TdxTreeList control node. The TStrings object
that implements the Strings property is created when the TdxTreeListNode is created. Use the
TdxTreeList component editor to edit the Strings property at design-time.

Values property read/write


Provides an array of variant type for columns values of TdxTreeListNode.

property Values[Index:Integer] : Variant;

Description
This array contains column values of a given TdxTreeListNode. You can get or set the value of a
particular column via its index in the TdxTreeList Columns property.

See Also
TdxTreeListNode.CountValues

ExpressQuantumGrid Suite Professional by Developer Express


18 TdxTreeListNode Methods

TdxTreeListNode Methods
AddChild GetNextSibling
AddChildFirst GetPrev
AddNodesToList GetPrevSibling
Collapse GetPriorNode
Create GetPriorParentNode
DeleteChildren HasAsParent
Destroy IndexOf
Expand InsertChild
GetNext MakeVisible
GetNextNode MoveTo

AddChild method
Adds a child node to a given TdxTreeListNode object.

function AddChild: TdxTreeListNode;

Description
The node is added as a child of a given node. It is added to the end of the TdxTreeListNode's list of
child nodes. AddChild returns a node that has been added.

See Also
TdxTreeListNode.AddChildFirst

AddChildFirst method
Adds a new TdxTreeListNode child to a given TdxTreeListNode object.

function AddChildFirst: TdxTreeListNode;

Description
Use AddChildFirst to insert a node as the first child of a given node. Nodes that appear after the
added node are moved down one row and reindexed with valid Index values. AddChildFirst returns a
node that has been added.

See Also
TdxTreeListNode.AddChild; TdxTreeListNode.AddNodesToList; TdxTreeListNode.InsertChild

AddNodesToList method
Add child nodes of a given TdxTreeListNode to the TList object.

Copyright © 2000 Developer Express Inc. www.devexpress.com


Collapse method 19

procedure AddNodesToList(List: TList);

Description
Copies child nodes of a given node to the TList object, specified by the List parameter.

See Also
TdxTreeListNode.AddChild; TdxTreeListNode.AddChildFirst; TdxTreeListNode.InsertChild

Collapse method
Collapses TdxTreeListNode.

procedure Collapse(Recurse: Boolean);

Description
When TdxTreeListNode collapses, all its subnodes are hidden. If Recurse is True, all subnodes are
collapsed as well. When TdxTreeListNode is expanded next, children are still collapsed. If Recurse is
False, child nodes aren’t collapsed and next time the node is expanded, children will be in the same
state as when Collapse was called.

See Also
TdxTreeListNode.Expand

Create method
Creates an instance of TdxTreeListNode.

constructor Create(AOwner: TCustomdxTreeList);

Description
Use this method to create a TdxTreeListNode object at run time. Nodes added to the TdxTreeList
control at design time are created automatically. Use the AddChild and AddFirstChild methods of
TdxTreeListNode instead of the Create method for creation of child nodes. AOwner specifies a tree
list to which the created node belongs.

Note: If AOwner is nil, the Create method raises an exception.

DeleteChildren method
Destroys all children of a TdxTreeListNode object.

procedure DeleteChildren;

Description
Call this method to delete all children of a given TdxTreeListNode object. The list of child nodes is
maintained within the Items property. The DeleteChildren method is called by the TdxTreeListNode
Destroy method.

ExpressQuantumGrid Suite Professional by Developer Express


20 TdxTreeListNode Methods

See Also
TdxTreeListNode.HasChildren

Destroy method
Destroys a TdxTreeListNode object.

destructor Destroy; override;


Description
Destroys a TdxTreeListNode instance and frees its memory. Deletion of a separate visible node
refreshes the control that owns the TdxTreeListNode objects.

Expand method
Expands TdxTreeListNode to display all child nodes.

procedure Expand(Recurse: Boolean);

Description
When TdxTreeListNode expands, its immediate subnodes are displayed. A minus '-' button may be
displayed, depending on whether the ShowButtons property of the tree view is set. If Recurse is True,
all descendants of immediate subnodes are expanded as well.

See Also
TdxTreeListNode.Collapse

GetNext method
Returns the next node in a tree list (grid) control.

function GetNext: TdxTreeListNode;

Description
Returns the next node in the tree list hierarchy relative to a given node. GetNext returns the next node
regardless of its visibility. If a node is the last node in a tree list (grid) control, GetNext returns nil. Use
this method to iterate through tree list nodes.

See Also
TdxTreeListNode.GetNextNode; TdxTreeListNode.GetNextSibling; TdxTreeListNode.GetPrev

GetNextNode method
Returns the next visible node in relation to a given node.

function GetNextNode: TdxTreeListNode;

Copyright © 2000 Developer Express Inc. www.devexpress.com


GetNextSibling method 21

Description
Returns the next visible node following a given node in a tree list. If the given node is the last visible
node in a tree list, the function returns nil.

See Also
TdxTreeListNode.GetNext; TdxTreeListNode.GetNextSibling; TdxTreeListNode.GetPriorNode;
TdxTreeListNode.GetPriorParentNode

GetNextSibling method
Returns the next node in a tree list at the same level as the calling node.

function GetNextSibling: TdxTreeListNode;

Description
GetNextSibling returns the next node, regardless of whether it's visible. Use the GetNext method to
find the next node in a tree list (including child nodes).

See Also
TdxTreeListNode.GetNext; TdxTreeListNode.GetNextNode; TdxTreeListNode.GetPrevSibling

GetPrev method
Returns the previous node in a tree list (grid) control.

function GetPrev: TdxTreeListNode;

Description
Returns the previous node in the tree list hierarchy relative to a given node. GetPrev returns the
previous node regardless of its visibility. If a node is the first node in a tree list (grid) control, GetPrev
returns nil. Use this method to iterate through the tree list nodes.

See Also
TdxTreeListNode.GetPriorNode; TdxTreeListNode.GetPrevSibling; TdxTreeListNode.GetNext;
TdxTreeListNode.GetPriorParentNode

GetPrevSibling method
Returns the previous node in a tree list at the same level as the calling node.

function GetPrevSibling: TdxTreeListNode;

Description
GetPrevSibling returns the previous node, regardless of whether it's visible. Use the GetPrev method
to find the previous node in a tree list (including child nodes).

See Also
TdxTreeListNode.GetPrev; TdxTreeListNode.GetNextSibling

ExpressQuantumGrid Suite Professional by Developer Express


22 TdxTreeListNode Methods

GetPriorNode method
Returns the previous visible node in relation to a given node.

function GetPriorNode: TdxTreeListNode;

Description
Use this method to get the visible node before a given node. If the previous visible node does not
exist, GetPriorNode returns nil.

See Also
TdxTreeListNode.GetNextNode; TdxTreeListNode.GetPrev; TdxTreeListNode.GetPriorParentNode

GetPriorParentNode method
Returns the previous node in a tree list control before the calling node.

function GetPriorParentNode: TdxTreeListNode;

Description
GetPriorParentNode returns the previous node regardless of whether it is visible or not. Use
GetPriorNode to access the previous visible node. If a given node is the first child of another node,
GetPriorParentNode returns that node. Otherwise, the GetPriorParentNode method returns the
previous node at the same level before the given node.

See Also
TdxTreeListNode.GetNextNode; TdxTreeListNode.GetPriorNode; TdxTreeListNode.HasAsParent

HasAsParent method
Determines whether a particular node is a parent of a given node.

function HasAsParent(Value: TdxTreeListNode): Boolean;

Description
Returns True if Value is a parent node of the calling node. The Value parameter specifies
TdxTreeListNode as a parent.

See Also
TdxTreeListNode.Count

IndexOf method
Returns position of a child node in the Items array of a given node.

Copyright © 2000 Developer Express Inc. www.devexpress.com


InsertChild method 23

function IndexOf(Value: TdxTreeListNode): Integer;

Description
Call IndexOf to obtain the index of a child node among children of a given TdxTreeListNode object. If
Value isn't a child of a given node, IndexOf returns -1. The index of the first child node is 0.

See Also
TdxTreeListNode.Items; TdxTreeListNode.Index

InsertChild method
Adds a child node to a given TdxTreeListNode object.

function InsertChild(BeforeNode: TdxTreeListNode): TdxTreeListNode;

Description
Inserts a new child node onto the Items array of a given TdxTreeListNode. The child node is inserted
before a node, specified by the BeforeNode parameter. If the BeforeNode parameter is nil, the new
child node is added to the beginning of the Items array.

MakeVisible method
Expands parent nodes of a node.

procedure MakeVisible;

Description
Makes a given TdxTreeListNode visible on screen. If a TdxTreeListNode's parent node(s) is collapsed
and the node is invisible, MakeVisible will expand node parents to make TdxTreeListNode visible.

See Also
TCustomdxTreeList.MakeNodeVisible; TdxTreeListNode.IsVisible; TdxTreeListNode.AbsoluteIndex

MoveTo method
Moves TdxTreeListNode to another location in the tree list control.

type
TdxTreeListNodeAttachMode = (natlAdd, natlAddFirst, natlAddChild,
natlAddChildFirst, natlInsert);
procedure MoveTo(Destination: TdxTreeListNode; Mode:
TdxTreeListNodeAttachMode);

Description
The Destination parameter determines where to move the TdxTreeListNode. The Mode parameter is
of type TdxTreeListNodeAttachMode and specifies the way a node is reattached. Possible values for
the Mode parameter include:

ExpressQuantumGrid Suite Professional by Developer Express


24 TdxTreeListNode Methods

Value Meaning
natlAdd The given TdxTreeListNode moves to the same level as the node, specified
by the Destination parameter. The given node moves to the end of the child
list.
natlAddFirst The given TdxTreeListNode moves to the same level as the node, specified
by the Destination parameter. The given node moves to the beginning of the
child list.
natlAddChild The given node is added as a child of Destination to the end of the child list.
natlAddChildFirst The given node is added as a child of Destination to the beginning of the
child list of Destination.
natlInsert Inserts a node after the Destination node.

See Also
TCustomdxTreeList

Copyright © 2000 Developer Express Inc. www.devexpress.com


25

TdxTreeListTextNode
TdxTreeListTextNode is used for nodes of a TdxTreeList control.

Unit
dxTL

TdxTreeListTextNode = class(TdxTreeListNode);

Description
The purpose of TdxTreeListTextNode is to represent nodes in a TdxTreeList control. The
TdxTreeListtextNode class derives methods and properties of the TdxTreeListNode class.

Hierarchy
TObject
TdxTreeListNode

ExpressQuantumGrid Suite Professional by Developer Express


26 TdxTreeListTextNode Properties

TdxTreeListTextNode Properties
Derived from TdxTreeListNode
AbsoluteIndex public / read only IsVisible public / read only
Count public / read only Items public / read only
CountValues public / read only Level public / read only
Data public / read / write Owner public / read only
Deleting public / read only Parent public / read only
Expanded public / read / write Selected public / read / write
Focused public / read / write SelectedIndex public / read / write
HasChildren public / read / write StateIndex public / read / write
ImageIndex public / read / write Strings public / read / write
Index public / read only Values public / read / write
IsLast public / read only

TdxTreeListTextNode Methods
Derived from TdxTreeListNode
AddChild public GetPrev public
AddChildFirst public GetPrevSibling public
AddNodesToList public GetPriorNode public
Collapse public GetPriorParentNode public
Create public HasAsParent public
DeleteChildren public IndexOf public
Destroy public InsertChild public
Expand public MakeVisible public
GetNext public MoveTo public
GetNextNode public
GetNextSibling public

Copyright © 2000 Developer Express Inc. www.devexpress.com


27

TdxDBTreeListControlNode
TdxDBTreeListControlNode is directly inherited from TdxTreeListTextNode.

Unit
dxDBCtrl

TdxDBTreeListControlNode = class(TdxTreeListTextNode);

Description
TdxDBTreeListControlNode is a base class for a data-aware tree list control to describe an individual
node within a data-aware tree list.

Hierarchy
TObject
TdxTreeListNode
TdxTreeListTextNode

ExpressQuantumGrid Suite Professional by Developer Express


28 TdxDBTreeListControlNode Properties

TdxDBTreeListControlNode Properties
TdxDBTreeListControlNode
Description public / read only VariantData public / read / write
Id public / read only VariantValues public / read only

Derived from TdxTreeListNode


AbsoluteIndex public / read only IsVisible public / read only
Count public / read only Items public / read only
CountValues public / read only Level public / read only
Data public / read / write Owner public / read only
Deleting public / read only Parent public / read only
Expanded public / read / write Selected public / read / write
Focused public / read / write SelectedIndex public / read / write
HasChildren public / read / write StateIndex public / read / write
ImageIndex public / read / write Strings public / read / write
Index public / read only Values public / read / write
IsLast public / read only

Description property read only


Contains text for the preview section.

property Description : String;

Description
This property returns text for the preview section. Used when nodes are grouped or all records are
loaded (the etoLoadAllRecords option is active).

Id property read only


Represents ‘id’ of a node.

property Id : Variant;

Description
Every node of a grid corresponds to a dataset record. This property contains the key field value of this
record.

VariantData property read / write


Represents fields values associated with grid columns and other additional information.

type

Copyright © 2000 Developer Express Inc. www.devexpress.com


VariantValues property 29

TNodeAssignedData = (nadValue, nadLookupValue);


TNodeAssignedValues = set of TNodeAssignedData;
TNodeVariantData = record
AssignedValues : TNodeAssignedValues;
Value : Variant;
LookupValue : Variant;
end;
property VariantData[Column:Integer] : TNodeVariantData;

Description
Each tree list/grid node (row) corresponds to a particular dataset record. VariantData is an array of
field values of a record. VariantData contains values for fields, associated with grid columns.
Additionally it contains a lookup value for a field. Lookup value is used when adding new records
when nodes are grouped. These values are used when sorting nodes. The index of the first element
in the array is 0. The first element of the VariantData array corresponds to the first cell. The number
of elements in the VariantData array is the same as the number of columns in the grid. You should
never need to use this property.

See Also
TdxTreeListNode.Strings

VariantValues property read only


Represents values of fields associated with grid columns.

property VariantValues[Index:Integer] : Variant;

Description
Each tree list/grid node (row) corresponds to a particular dataset record. VariantValues is an array of
field values of a record. VariantValues contains values for fields, associated with grid columns. These
values are used when sorting nodes. Index of the first element of the array is 0. The first element in
the VariantValues array corresponds to the first cell. The number of elements in the VariantValues
array is the same as the number of columns in the grid.

See Also
TdxTreeListNode.Strings

ExpressQuantumGrid Suite Professional by Developer Express


30 TdxDBTreeListControlNode Methods

TdxDBTreeListControlNode Methods
TdxDBTreeListControlNode
Delete public

Derived from TdxTreeListNode


AddChild public GetNextSibling public
AddChildFirst public GetPrev public
AddNodesToList public GetPrevSibling public
Collapse public GetPriorNode public
Create public GetPriorParentNode public
DeleteChildren public HasAsParent public
Destroy public IndexOf public
Expand public InsertChild public
GetNext public MakeVisible public
GetNextNode public MoveTo public

Delete method
Deletes a record corresponding to a node (row).

procedure Delete;

Description
Call Delete to remove a record from a dataset and a node (row) that represents this record in the grid.

Copyright © 2000 Developer Express Inc. www.devexpress.com


31

TdxDBTreeListNode
TdxDBTreeListNode is directly inherited from TdxDBTreeListControlNode.

Unit
dxDBTL

TdxDBTreeListNode = class(TdxDBTreeListControlNode);

Description
TdxDBTreeListNode describes an individual node within a data-aware tree list.

Hierarchy
TObject
TdxTreeListNode
TdxTreeListTextNode
TdxDBTreeListControlNode

ExpressQuantumGrid Suite Professional by Developer Express


32 TdxDBTreeListNode Properties

TdxDBTreeListNode Properties
TdxDBTreeListNode
ParentId public / read only

Derived from TdxDBTreeListControlNode


Description public / read only VariantData public / read / write
Id public / read only VariantValues public / read only

Derived from TdxTreeListNode


AbsoluteIndex public / read only IsVisible public / read only
Count public / read only Items public / read only
CountValues public / read only Level public / read only
Data public / read / write Owner public / read only
Deleting public / read only Parent public / read only
Expanded public / read / write Selected public / read / write
Focused public / read / write SelectedIndex public / read / write
HasChildren public / read / write StateIndex public / read / write
ImageIndex public / read / write Strings public / read / write
Index public / read only Values public / read / write
IsLast public / read only

ParentId property read only


Represents ‘id’ of a parent node.

property Id : Variant;

Description
Every node of a tree list corresponds to a dataset record. This property contains the key field value of
the record that corresponds to the parent node of the current node. If a node is placed at the topmost
level, then this property contains a RootValue property when LoadAllRecords mode is enabled.

Copyright © 2000 Developer Express Inc. www.devexpress.com


read only 33

TdxDBTreeListNode Methods
Derived from TdxDBTreeListControlNode
Delete public

Derived from TdxTreeListNode


AddChild public GetNextSibling public
AddChildFirst public GetPrev public
AddNodesToList public GetPrevSibling public
Collapse public GetPriorNode public
Create public GetPriorParentNode public
DeleteChildren public HasAsParent public
Destroy public IndexOf public
Expand public InsertChild public
GetNext public MakeVisible public
GetNextNode public MoveTo public

ExpressQuantumGrid Suite Professional by Developer Express


34 TdxDBGridNode

TdxDBGridNode

Unit
dxDBGrid

TdxDBGridNode = class(TdxDBTreeListControlNode);

Description
TdxDBGridNode describes an individual node within a data-aware grid.

Hierarchy
TObject
TdxTreeListNode
TdxTreeListTextNode
TdxDBTreeListControlNode

Copyright © 2000 Developer Express Inc. www.devexpress.com


GroupId property 35

TdxDBGridNode Properties
TdxDBGridNode
GroupId public / read only SummaryValue public / read only
RecNo public / read only SummaryValues public / read only

Derived from TdxDBTreeListControlNode


Description public / read only VariantData public / read / write
Id public / read only VariantValues public / read only

Derived from TdxTreeListNode


AbsoluteIndex public / read only IsVisible public / read only
Count public / read only Items public / read only
CountValues public / read only Level public / read only
Data public / read / write Owner public / read only
Deleting public / read only Parent public / read only
Expanded public / read / write Selected public / read / write
Focused public / read / write SelectedIndex public / read / write
HasChildren public / read / write StateIndex public / read / write
ImageIndex public / read / write Strings public / read / write
Index public / read only Values public / read / write
IsLast public / read only

GroupId property read only


Represents the ‘group id’ of a node.

property GroupId : Variant;

Description
This property is set only for grouped nodes. It contains the value by which nodes are grouped.

RecNo property read only


Represents the ‘id’ of a record associated with a node.

property RecNo : Integer;

Description
RecNo represents the offset of a record relative to the first dataset record. The RecNo property is
used when navigating within a dataset via TdxDBGrid.

SummaryValue property read only


Specifies the summary value of a node.

ExpressQuantumGrid Suite Professional by Developer Express


36 TdxDBGridNode Properties

property SummaryValue : Extended;

Description
Use this property to access the value that appears as a summary when the node is a grouped node.

SummaryValues property read only


Returns summaries values displayed for the grid node.

property SummaryValues[Index: Integer]: Extended;

Description
ExpressQuantumGrid allows calculating several row summaries for a node. Use this property to
obtain summary values calculated for a node.

Note: Summary values are meaningful only for the grouping nodes.

Copyright © 2000 Developer Express Inc. www.devexpress.com


read only 37

TdxDBGridNode Methods
Derived from TdxDBTreeListControlNode
Delete public

Derived from TdxTreeListNode


AddChild public GetPrev public
AddChildFirst public GetPrevSibling public
AddNodesToList public GetPriorNode public
Collapse public GetPriorParentNode public
Create public HasAsParent public
DeleteChildren public IndexOf public
Destroy public InsertChild public
Expand public MakeVisible public
GetNext public MoveTo public
GetNextNode public
GetNextSibling public

ExpressQuantumGrid Suite Professional by Developer Express


38 TdxDBTreeListControlDataLink

TdxDBTreeListControlDataLink
An object of TdxDBTreeListControlDataLink class represents the basic link between data-aware
controls and a dataset.

Unit
dxDBCtrl

TdxDBTreeListControlDataLink = class(TDataLink);

Description
The purpose of TdxDBTreeListControlDataLink is to coordinate actions with a dataset. Objects of this
type are used internally. You will rarely need to use this element.

Hierarchy
TObject
TPersistent
TDataLink

Copyright © 2000 Developer Express Inc. www.devexpress.com


FieldCount property 39

TdxDBTreeListControlDataLink Properties
FieldCount public / read only
Fields public / read only
IsModofied public / read only

FieldCount property read only


Specifies the number of elements in the Field array.

property FieldCount : Integer;

Description
The value of the FieldCount property is always one greater than the index of the last element in the
Fields array.

Fields property read only


Represents an array of fields associated with data-aware tree list columns.

property Fields[I:Integer] : TField;

Description
Use this property to access a specific field associated with a column. The index of the first element in
the array is 0. The total number of elements is defined by the FieldCount property.

IsModified property read only


Specifies whether a user is editing a cell in a data-aware tree list.

property IsModified : Boolean;

Description
If the IsModified property is True, then a dataset record is being modified by a data-aware tree list;
otherwise False.

ExpressQuantumGrid Suite Professional by Developer Express


40 TdxDBTreeListControlDataLink Methods

TdxDBTreeListControlDataLink Methods
AddMapping public Modified public
ClearMapping public Reset public

AddMapping method

function AddMapping(const FieldName: string): Boolean;

Description
This method is called when an existing dataset field is associated with a grid column. AddMapping
adds an existing field, specified by FieldName to the Fields array. The function returns True, if
addition was successful.

ClearMapping method

procedure ClearMapping;

Description
Clears the Fields array. This method is called when associations between fields and grid columns are
removed.

Modified method

procedure Modified;

Description
Sets the internal indicator to True which specifies that a user is editing a cell in a data-aware grid.

Reset method

procedure Reset;

Description
This method is called when a user presses ESC or moves to another node from the active inplace
editor. The Reset method cancels any modifications to the current record if those changes are not yet
posted.

Copyright © 2000 Developer Express Inc. www.devexpress.com


41

TdxDBTreeListDataLink
An object of class TdxDBTreeListDataLink represents a link between data-aware tree list controls and
a dataset.

Unit
dxDBTL

TdxDBTreeListDataLink = class(TdxDBTreeListControlDataLink);

Description
The purpose of the TdxDBTreeListDataLink class is to coordinate the actions of the data-aware tree
list with a dataset. Objects of this type are used internally. You may never need to use this element.

Hierarchy
TObject
TPersistent
TDataLink
TdxDBTreeListControlDataLink

ExpressQuantumGrid Suite Professional by Developer Express


42 TdxDBTreeListDataLink Properties

TdxDBTreeListDataLink Properties
Derived from TdxDBTreeListControlDataLink
FieldCount public / read only
Fields public / read only
IsModofied public / read only

TdxDBTreeListDataLink Methods
Derived from TdxDBTreeListControlDataLink
AddMapping public
ClearMapping public
Modified public
Reset public

Copyright © 2000 Developer Express Inc. www.devexpress.com


43

TdxGridDataLink
An object of TdxGridDataLink class represents the link between data-aware grid controls and a
dataset.

Unit
dxDBGrid

TdxGridDataLink = class(TdxDBTreeListControlDataLink);

Description
The purpose of TdxGridDataLink is to coordinate grid actions with a dataset. Objects of this type are
used internally. You will rarely need to use this element.

Hierarchy
TObject
TPersistent
TDataLink
TdxDBTreeListControlDataLink

ExpressQuantumGrid Suite Professional by Developer Express


44 TdxGridDataLink Properties

TdxGridDataLink Properties
Derived from TdxDBTreeListControlDataLink
FieldCount public / read only
Fields public / read only
IsModofied public / read only

TdxGridDataLink Methods
Derived from TdxDBTreeListControlDataLink
AddMapping public
ClearMapping public
Modified public
Reset public

Copyright © 2000 Developer Express Inc. www.devexpress.com


45

TdxDBGridSummaryItem
Represents a summary item. The collection of summary items allows creation of multiple summaries
for a grouped node and the summary footer for a grouped column.

Unit
dxDBCtrl

TdxDBGridSummaryItem = class(TCollectionItem);

Description
Use ColumnName and(or) FieldName to specify by which column(field) to make a calculation. If you
use summary for a grouped column, then ColumnName determines the column for which a footer
summary appears. Use the SummaryType property to specify how summary is calculated.
SummaryFormat allows you to define a specific format for the summary text. Write an OnSummary
event handler to calculate the summary based on your specific requirements.

Hierarchy
TObject
TPersistent
TCollectionItem

See Also
TxDBGridSummaryItems; TdxDBGridSummaryGroup; TdxDBGridsummaryGroups

ExpressQuantumGrid Suite Professional by Developer Express


46 TdxDBGridSummaryItem Properties

TdxDBGridSummaryItem Properties
ColumnName published / read / write
SummaryType published / read / write
SummaryField published / read / write
SummaryFormat publis hed / read / write

ColumnName property read / write


Specifies the column for which a row summary is displayed.

property ColumnName: string;

Description
Use ColumnName to set a summary column. If the SummaryField property is empty, the summary
column field is used as a summary field.

Note: If ColumnName is empty, the summary is displayed within the grouped node but not within the row
summary node.

SummaryType property read / write


Determines summary type.

type
TdxSummaryType = (cstNone, cstSum, cstMin, cstMax, cstCount, cstAvg);
property SummaryType : TdxSummaryType;

Description
Use this property to specify the way the summary is calculated. Available values are as follows:

cstNone Summary is not used.


cstSum Sums values of summary fields that belong to a grouped node.
cstMin Displays the minimum value of summary fields in a grouped node.
cstMax Displays the maximum value of summary fields in a grouped node.
cstCount Displays the count of child nodes of a grouped node. You do not need to
determine the summary field.
cstAvg Displays the average value of summary fields in a grouped node.

SummaryField property read / write


Specifies a grid’s field, whose value is used for summary calculations.

Copyright © 2000 Developer Express Inc. www.devexpress.com


SummaryFormat proeprty 47

property SummaryField : String;

Description
Use the SummaryField property to set a field, whose value is used, for summary calculations. If the
summary field is empty, then the field of a column specified in the ColumnName property is used.

SummaryFormat proeprty read / write


Determines summary format.

property SummaryFormat : String;

Description
Use this property to specify text format of a summary. For example, your program may calculate the
summary of a given set of fields. Setting SummaryFormat to ‘The total sum is $#####,##’ will give it
the more intuitive display.

ExpressQuantumGrid Suite Professional by Developer Express


48 TdxDBGridSummaryItem Methods

TdxDBGridSummaryItem Methods
GetSummaryItems public

GetSummaryItems method

function GetSummaryItems: TdxDBGridSummaryItems;

Description
The TdxDBGridSummaryItems object can include several summary items, one for each
ExpressQuantumGrid column. The GetSummaryItems method returns the TdxDBGridSummaryItems
object to which a given summary item belongs.

See Also
TdxDBGridSummaryItems

Copyright © 2000 Developer Express Inc. www.devexpress.com


OnSummary event 49

TdxDBGridSummaryItem Events
OnSummary published

OnSummary event
Occurs when calculating a summary value.

type
TdxSummaryEvent = procedure(Sender : TObject; DataSet : TDataSet; var
Value : Extended) of object;
property OnSummary : TdxSummaryEvent;

Description
Write an OnSummary event handler to calculate summary on several dataset fields. The Value
parameter determines the value that will be used when calculating the summary.

Note: TdxDBGridSummaryItem OnSummary is called before the TCustomdxDBGrid OnSummaryNode


event.

See Also
TdxDBGridSummaryItem.ColumnName; TdxDBGridSummaryItem.SummaryType;
TdxDBGridSummaryItem.SummaryField; TdxDBGridSummaryItem.SummaryFormat

ExpressQuantumGrid Suite Professional by Developer Express


50 TdxDBGridSummaryItems

TdxDBGridSummaryItems
Contains the collection of TdxDBGridSummaryItem objects.

Unit
dxDBCtrl

TdxDBGridSummaryItems = class(TCollection);

Description
TdxDBGridSummaryItems represents a set of summary groups. You can access a given summary
group via its index in the TdxDBGridSummaryItems object.

Hierarchy
TObject
TPersistent
TCollection

See Also
TdxDBGridSumamryItem; TdxDBGridSummaryGroup; TdxDBGridsummaryGroups

Copyright © 2000 Developer Express Inc. www.devexpress.com


Items property 51

TdxDBGridSummaryItems Properties

Items public / read / write


SummaryGroup public / read / write

Items property read / write


Defines a list of TdxDBGridSummaryItem objects a given collection owns.

property Items[Index: Integer]: TdxDBGridSummaryItem;

Description
The Item property specifies a list of all summary items in a TdxDBGridSummaryItems object. You can
access a given summary item via its index in the Items array.

SummaryGroup property read / write


Returns the summary group to which a particular summary item object belongs.

property SummaryGroup: TdxDBGridSummaryGroup;

Description
Use the SummaryGroup property to get a summary group to which a particular summary item object
belongs.

ExpressQuantumGrid Suite Professional by Developer Express


52 TdxDBGridSummaryItems Methods

TdxDBGridSummaryItems Methods
Add public

Add method
Creates a new TdxDBGridSummaryItem instance and adds it to the Items array.

function Add: TdxDBGridSummaryItem;

Description
Call Add to create a summary item for TdxDBGridSummaryItems. A new TdxDBGridSummaryItem
object is placed at the end of the Items array. Add returns the newly created
TdxDBGridSummaryItem.

Copyright © 2000 Developer Express Inc. www.devexpress.com


53

TdxDBGridSummaryGroup

Unit
dxDBCtrl

TdxDBGridSummaryGroup = class(TCollectionItem);

Description
Contains a summary items object (an array of summary item objects). An array of the summary items
object contains complete information to allow you to use multiple summaries for a grouped node and
create a grouped column footer. A column determines a summary group, which will be used by its
Name (Column.GroupName = SummaryGroup.Name).
See Create the Multiple summary in grouped column and group footer for more information.

Note: The default summary group is a summary group with the DefaultGroup value equal to True. Only one
default summary group can exist at a time. If the default summary group is not NULL and column
summary group name is empty, then column uses the default summary group as the column summary
group name equal to the name of the default summary group.

Hierarchy
TObject
TPersistent
TCollectionItem

See Also
TdxDBGridSummaryItem; TdxDBGridSummaryItems; TdxDBGridSummaryGroups

ExpressQuantumGrid Suite Professional by Developer Express


54 TdxDBGridSummaryGroup Properties

TdxDBGridSummaryGroup Properties
BeginSummaryText published / read / write SummaryItems published / read / write
DefaultGroup published / read / write Name published / read / write
EndSummaryText published / read / write

BeginSummaryText property read / write


Specifies the leading text of a summary.

property BeginSummaryText: string;

Description
Use the BeginSummaryText property to specify the text displayed before the calculated summary
value.

See Also
TdxDBGridSummaryGroup.EndSummaryText

DefaultGroup property read / write


Specifies whether the summary group is default.

property DefaultGroup: Boolean;

Description
Use the DefaultGroup property to make a particular summary group the default one. Only one default
summary group can exist at a time. If the default summary group is not NULL and the name of a
column summary group is empty, then a column uses the default summary group as if the name of this
column summary group is equal to the name of the default summary group.

EndSummaryText property read / write


Specifies the final text of a summary.

property EndSummaryText: string;

Description
Use the EndSummaryText property to specify the text displayed after the calculated summary value.

See Also
TdxDBGridSummaryGroup.BeginSummaryText

Copyright © 2000 Developer Express Inc. www.devexpress.com


SummaryItems property 55

SummaryItems property read / write


Represents an indexed array of all TdxDBGridSummaryItem objects within
TdxDBGridSummaryGroup.

property SummaryItems: TdxDBGridSummaryItems;

Description
Use SummaryItems to directly access a particular Item in the TdxDBGridSummaryGroup object.
Specify which item to access using Index, where 0 specifies the first item, 1 specifies the second item,
and so on. Each item is a TdxDBGridSummaryItem object.

Name property read / write


Specifies the name of a summary group

property Name: string;

Description
Use the Name property to identify a summary group. The name should be unique and not empty.

ExpressQuantumGrid Suite Professional by Developer Express


56 TdxDBGridSummaryGroup Methods

TdxDBGridSummaryGroup Methods
GetSummaryGroups public

GetSummaryGroups method
Returns the TdxDBGridSummaryGroups object to which a particular summary group belongs.

function GetSummaryGroups: TdxDBGridSummaryGroups;

Description
Use the GetSummaryGroups method to get a TdxDBGridSummaryGroups object to which a particular
summary group belongs.

Copyright © 2000 Developer Express Inc. www.devexpress.com


OnChangeName event 57

TdxDBGridSummaryGroup Events
OnChangeName public

OnChangeName event
Occurs when changing the name of a summary group.

type
TNotifyEvent = Procedure(Sender: TObject) of object;
property OnChangeName: TNotifyEvent;

Description
Write an OnChangeName event handler to perform specific actions when changing the name of a
summary group.

ExpressQuantumGrid Suite Professional by Developer Express


58 TdxDBGridSummaryGroups

TdxDBGridSummaryGroups
Contains a collection of TdxDBGridSummaryGroup objects.

Unit
dxDBCtrl

TdxDBGridSummaryGroups = class(TCollection);

Description
TdxDBGridSummaryGroups represents a set of summary groups. You can access a given summary
group via its index in the TdxDBGridSummaryGroups object.

Hierarchy
TObject
TPersistent
TCollection

See Also
TdxDBGridSummaryItem; TdxDBGridSummaryItems; TdxDBGridSummaryGroup

Copyright © 2000 Developer Express Inc. www.devexpress.com


DBGrid property 59

TdxDBGridSummaryGroups Properties
DBGrid public / read only
Items public / read / write

DBGrid property read only


Returns ExpressQuantumGrid to which objects of summary groups belong.

property DBGrid: TCustomdxDBGrid;

Description
Use DBGrid to obtain ExpressQuantumGrid to which object of summary groups belongs.

Items proeprty read / write


Defines a list of TdxDBGridSummaryGroup objects a given collection owns.

property Items[Index: Integer]: TdxDBGridSummaryGroup;

Description
The Item property specifies a list of all summary groups in a TdxDBGridSummaryGroups object. You
can access a given summary group via its index in the Items array.

ExpressQuantumGrid Suite Professional by Developer Express


60 TdxDBGridSummaryGroups Methods

TdxDBGridSummaryGroups Methods

Add public
GetDefaultGroup public

Add method
Creates a new TdxDBGridSummaryGroup instance and adds it to the Items array.

function Add: TdxDBGridSummaryGroup;

Description
Call Add to create a summary group for TdxDBGridSummaryGroups. A new
TdxDBGridSummaryGroup object is placed at the end of the Items array. Add returns the newly
created TdxDBGridSummaryGroup.

GetDefaultGroup method
Returns a default group.

function GetDefaultGroup: TdxDBGridSummaryGroup;

Description
Call GetDefaultGroup to get the default summary group. If there is no default summary group, it will
return NULL.

Copyright © 2000 Developer Express Inc. www.devexpress.com


TdxGridDrawInfo 61

Structures

TdxGridDrawInfo

Unit
dxTL

TdxGridDrawInfo = record
CRect: TRect;
GroupPanelRect: TRect;
BandRect: TRect;
BandButtonRect: TRect;
HeaderRect: TRect;
HeaderButtonRect: TRect;
IndicatorRect: TRect;
NewItemRowRect: TRect;
CellsRect: TRect;
EmptyRectRight,
EmptyRectBottom: TRect;
FooterRect: TRect;
FixedBandLeftRect: TRect;
FixedBandRightRect: TRect;
FixedBandLeftIndex: Integer;
FixedBandRightIndex: Integer;
FixedBandPrevRightIndex: Integer;
EdgeX, EdgeY: Integer;
IndentLimit: Integer;
RowSeparatorLineWidth: Integer;
BandCount: Integer;
BandsInfo: PdxGridBandsInfo;
HeaderCount: Integer;
HeadersInfo: PdxGridHeadersInfo;
EmptyRectCount: Integer;
EmptyRectsInfo: PdxGridEmptyRectsInfo;
RowCount: Integer;
RowsInfo: PdxGridRowsInfo;
end;

ExpressQuantumGrid Suite Professional by Developer Express


62 Structures

Description
The TdxGridDrawInfo structure contains information on the drawing areas of a tree list control. It was
designed for internal use. However, it can also be useful to help solve specific programming
problems. The structure provides the following fields (all coordinates are presented in the coordinates
of the tree list control):

CRect Contains coordinates of the client area of a tree list


control.
GroupPanelRect Contains coordinates of the group panel
(ExpressQuantumGrid).
BandRect Contains band panel coordinates.
BandButtonRect Contains the band button’s rectangle.
HeaderRect Determines the header panel’s rectangle.
HeaderButtonRect Contains the header button’s rectangle.
IndicatorRect Contains coordinates of the indicator area.
NewItemRowRect Contains the new item row’s rectangle.
CellsRect Contains coordinates of an area occupied by the cells
of a tree list control.
EmptyRectRight, Contains coordinates of an empty area located to the
left of a tree list control cells.
EmptyRectBottom Contains coordinates of an empty rectangle located
below the cells of a tree list control.
FooterRect Contains the rectangle of the tree list footer.
FixedBandLeftRect Contains the left fixed band’s rectangle.
FixedBandRightRect Contains the right fixed band’s rectangle.
FixedBandLeftIndex Determines the left fixed band’s separator rectangle.
FixedBandRightIndex Determines the right fixed band’s separator rectangle.
FixedBandPrevRightIndex The visual index of a band located before the right
fixed band.
EdgeX, EdgeY Reserved for internal use.
IndentLimit Reserved for internal use.
RowSeparatorLineWidth Width of a separator line between nodes.
BandCount The amount of drawing bands (partially visible bands
included).
BandsInfo A pointer to the structure that stores information on
band drawing.
HeaderCount The number of drawn column headers (including
partially visible).
HeadersInfo A pointer to the structure that stores information on
column headers drawing.
EmptyRectCount The number of empty drawing rectangles (including
partially visible) drawn in the bands that do not contain
visible column headers.
EmptyRectsInfo A pointer to a structure that stores information on the
drawing of empty rectangles within the bands that do
not contain visible column headers.

Copyright © 2000 Developer Express Inc. www.devexpress.com


TdxGridBandDrawInfo 63

not contain visible column headers.


RowCount The number of drawing nodes (partially visible nodes
included).
RowsInfo A pointer to the structure that stores information on the
drawing bands.

TdxGridBandDrawInfo

Unit
dxTL

TdxGridBandDrawInfo = record
Index: Integer;
BandRect: TRect;
BandClipRect: TRect;
end;
PdxGridBandsInfo = ^TdxGridBandsInfo;
TdxGridBandsInfo = array [0..dxGridMaxDrawItems - 1] of
TdxGridBandDrawInfo;

Description
TdxGridBandDrawInfo stores information on drawing band coordinates. This structure is for internal
use, however, you can make use of it to perform specific tasks when working with the
ExpressQuantumGrid/TreeList. The following fields are available (all coordinates are exposed in tree
list control coordinates):

Index The visible index of a drawn band.


BandRect The band rectangle (in tree list control coordinates).
BandClipRect Coordinates of the visible portion of a band. For internal use only.

TdxGridHeaderDrawInfo

Unit
dxTL

TdxGridHeaderDrawInfo = record
AbsoluteIndex: Integer;
BandIndex, RowIndex, ColIndex: Integer;
LineCount: Integer;
HeaderRect: TRect;

ExpressQuantumGrid Suite Professional by Developer Express


64 Structures

HeaderClipRect: TRect;
HeaderEmptyRect: TRect;
FirstColumn: Boolean;
LastColumn: Boolean;
LeftEdgeColumn: Boolean;
RightEdgeColumn: Boolean;
MultiLine: Boolean;
end;
PdxGridHeadersInfo = ^TdxGridHeadersInfo;
TdxGridHeadersInfo = array [0..dxGridMaxDrawItems - 1] of
TdxGridHeaderDrawInfo;

Description
TdxGridHeaderDrawInfo stores information on coordinates of drawing column headers. It is for
internal use, however, you can make use of it to perform specific tasks when working with the
ExpressQuantumGrid/TreeList. The following fields are available (all coordinates are exposed in tree
list control coordinates):

AbsoluteIndex The absolute index of a drawing column.


BandIndex The visible index of the band to which a column belongs.
RowIndex and Specifies column and row index of a column header within a band.
ColIndex
LineCount The number of text lines in a column header.
HeaderRect The rectangle of a column header.
HeaderClipRect Coordinates of the visible portion of a column header.
HeaderEmptyRect Coordinates of the empty rectangle drawn under a column header.
FirstColumn For internal use only.
LastColumn For internal use only.
LeftEdgeColumn For internal use only.
RightEdgeColumn For internal use only.
MultiLine Determines whether column text is displayed across several rows.

TdxGridEmptyRectDrawInfo

Unit
dxTL

TdxGridEmptyRectDrawInfo = record
BandIndex: Integer;
EmptyRect: TRect;
ClippingFlag: Boolean;

Copyright © 2000 Developer Express Inc. www.devexpress.com


TdxGridRowDrawInfo 65

end;
PdxGridEmptyRectsInfo = ^TdxGridEmptyRectsInfo;
TdxGridEmptyRectsInfo = array [0..dxGridMaxDrawItems - 1] of
TdxGridEmptyRectDrawInfo;

Description
A band is drawn empty if it does not include visible column headers. TdxGridEmptyRectDrawInfo
stores information on coordinates of empty rectangles. You may use it to perform specific tasks when
working with the ExpressQuantumGrid/TreeList. The following fields are available (all coordinates are
exposed in tree list control coordinates):

BandIndex The visible index of an empty band.


EmptyRect Coordinates of an empty rectangle.
ClippingFlag For internal use only.

TdxGridRowDrawInfo

Unit
dxTL

TdxGridIndicatorKind = (ikNone, ikArrow, ikEdit, ikInsert, ikMultiDot,


ikMultiArrow);

TdxGridRowDrawInfo = record
Node: TdxTreeListNode;
IsGroup: Boolean;
IsSelected: Boolean;
RowHeight: Integer;
RowFooterCount: Integer;
RowFooterHeight: Integer;
IndicatorKind: TdxGridIndicatorKind;
PreviewLineCount: Integer;
RowLineCount: Integer;
Indent: Integer;
end;
PdxGridRowsInfo = ^TdxGridRowsInfo;
TdxGridRowsInfo = array [0..dxGridMaxDrawItems - 1] of TdxGridRowDrawInfo;

Description
TdxGridRowDrawInfo stores information used when drawing a node. You may use it to peform
specific tasks when working with the ExpressQuantumGrid/TreeList. The following fields are available
(all coordinates are exposed in tree list control coordinates):

ExpressQuantumGrid Suite Professional by Developer Express


66 Structures

Node The drawing node.


IsGroup Determines whether the drawn node is the grouping node.
IsSelected Determines whether the drawn node is selected.
RowHeight Specifies the height of a node in pixels.
RowFooterCount Contains the number of rows of drawn node footers.
RowFooterHeight The height of a node footer.
IndicatorKind Type of indicator drawn for a node.
PreviewLineCount The height of the preview section in text lines.
RowLineCount The height of a node in text lines.
Indent The left indent in pixels.

TdxHeaderPosInfo
This structure contains information about column header position.

Unit
dxTL

TdxHeaderPosInfo = record
BandIndex: Integer;
RowIndex: Integer;
ColIndex: Integer;
AbsoluteIndex: Integer;
end;

Description
This structure is used by event handlers to determine position of a particular column header:

BandIndex Specifies index of a band to which a column header belongs. The


first band index is 0.
RowIndex Specifies row within a band, where column is located
ColIndex Specifies index of a column header among other headers on the
same row. The first column header within a row has index 0.
AbsoluteIndex Determines absolute index of a column.

See Also
TCustomdxDBTreeListControl.Columns; TCustomdxTreeListControl.Columns; TdxTreeListBands;
TdxTreeListBands Methods; TdxTreeListBands Properties

Copyright © 2000 Developer Express Inc. www.devexpress.com


CompareByAbsoluteIndex 67

Global Variables and Procedures


CompareByAbsoluteIndex sdxBlobPopupItems
FCheckHeight sdxCalcError
FCheckWidth sdxDateError
LoadDBGridFilterFromFile sdxDeleteMultipleRecordsQuestion
LoadDBGridFilterFromStream sdxGrBandsCaption
dxTimeEditMaxValue sdxGrCheckTextFalse
dxTimeEditMinValue sdxGrCheckTextTrue
dxTimeEditOneHour sdxGrColumns
dxTimeEditOneMin sdxGrDeleteRecordQuestion
dxTimeEditOneSec sdxGrHeadersCaption
SaveDBGridFilterToFile sdxGrTitleConfirm
SaveDBGridFilterToStream sdxPanelText
sdxBlobEditButtons

CompareByAbsoluteIndex procedure

Unit
dxTL

function CompareByAbsoluteIndex(Node1, Node2: TdxTreeListNode): Integer;

Description
This function compares the position of two nodes on screen by their absolute index. Compared nodes
can belong to different levels and have different parent nodes. If Node2 is placed below Node1,
CompareByAbsoluteIndex returns a negative value. If Node2 is placed above Node1, the function
returns a positive value. If Node1 and Node2 are placed on one level, (Node1 is Node2), the function
returns 0.

See Also
TdxTreeListNode

FCheckHeight variable

Unit
dxExEdtr

FCheckHeight : Integer;

Description
Specifies the height of the TdxDBTreeListCheckColumn check box.

ExpressQuantumGrid Suite Professional by Developer Express


68 Global Variables and Procedures

See Also
TdxDBTreeListCheckColumn

FCheckWidth variable

Unit
dxExEdtr

FCheckWidth : Integer;

Description
Specifies width of the TdxDBTreeListCheckColumn check box.

See Also
TdxDBTreeListCheckColumn

LoadDBGridFilterFromFile procedure
Loads filter information from a file.

procedure LoadDBGridFilterFromFile(const FileName: string; AFilter:


TdxDBGridFilter);

Description
Use the LoadDBGridFilterFromFile method to obtain filter information from the file specified by the
FileName parameter and load it into the TdxDBGridFilter specified by the AFilter parameter. The
FileName parameter fully defines the file name (no extension is added).

See Also
SaveDBGridFilterToFile

LoadDBGridFilterFromStream procedure
Reads filter information from a stream and applies its contents to the TdxDBGridFilter.

procedure LoadDBGridFilterFromStream(AStream: TStream; AFilter:


TdxDBGridFilter);

Description
Use the LoadDBGridFilterFromStream method to read grid filter settings from the stream specified by
the AStream parameter and to load it into the TdxDBGridFilter specified by the AFilter parameter.

Note: Stream must contain data in a TdxDBGridFilter internal format (for example, data is written to a stream
by another TdxDBGridFilter via the SaveDBGridFilterToStream method).

Copyright © 2000 Developer Express Inc. www.devexpress.com


dxTimeEditMaxValue 69

See Also
SaveDBGridFilterToStream

dxTimeEditMaxValue variable

Unit
dxExEdtr

dxTimeEditMaxValue : TDateTime;

Description
Specifies the maximum time value that can be edited by a TdxInplaceTimeEdit inplace editor. By
default, dxTimeEditMaxValue corresponds to 23:59:59.0

dxTimeEditMinValue variable

Unit
dxExEdtr

dxTimeEditMinValue : TDateTime;

Description
Specifies the minimum time value that can be edited by the TdxInplaceTimeEdit inplace editor. By
default, dxTimeEditMinValue corresponds to 00:00:00.0

dxTimeEditOneHour variable

Unit
dxExEdtr

dxTimeEditOneHour : TDateTime;

Description
Determines the incremental value for hours in the Time Column.

dxTimeEditOneMin variable

Unit
dxExEdtr

dxTimeEditOneMin : TDateTime;

ExpressQuantumGrid Suite Professional by Developer Express


70 Global Variables and Procedures

Description
Determines the incremental value for minutes in the Time Column.
dxTimeEditOneSec variable

Unit
dxExEdtr

dxTimeEditOneSec : TDateTime;

Description
Determines the incremental value for seconds in the Time Column.

SaveDBGridFilterToFile procedure
Saves filter information to a file.

procedure SaveDBGridFilterToFile(const FileName: string; AFilter:


TdxDBGridFilter);

Description
Use the SaveDBGridFilterToFile method to save the filter specified by the AFilter parameter to the file
specified by the FileName parameter. The stored filter can be reloaded from the file into another
TdxDBGridFilter object with the help of the LoadDBGridFilterFromFile method. The FileName
parameter fully defines the file name (no extension is added).

See Also
LoadDBGridFilterFromFile

SaveDBGridFilterToStream procedure
Writes filter information to the stream passed as a Stream parameter.

procedure SaveDBGridFilterToStream(AStream: TStream; AFilter:


TdxDBGridFilter);

Description
Use the SaveDBGridFilterToStream method to store the TdxDBGridFilter object specified by the
AFilter parameter in a stream. It can be streamed back into another TdxDBGridFilter object when
using the LoadDBGridFilterFromStream method.

See Also
LoadDBGridFilterFromStream

sdxBlobEditButtons variable

Copyright © 2000 Developer Express Inc. www.devexpress.com


sdxBlobPopupItems 71

Unit
dxDBEdtr

type
TdxBlobEditButton = (bebOK, bebCancel, bebClose);
TdxBlobEditButtons = set of TdxBlobEditButton;
sdxBlobEditButtons : array [TdxBlobEditButton] of string;

Description
Determines an array [TdxBlobEditButton] of strings equal to 'OK', 'Cancel' and 'Close.’ These strings
are used within a Popup BLOB Editor window. Use sdxBlobEditButtons to change these text strings.

See Also
TdxDBTreeListBlobColumn

sdxBlobPopupItems variable

Unit
dxDBEdtr

sdxBlobPopupItems : array [0..3] of string;

Description
Determines an array [0..3] of strings equal to 'Cu&t', '&Copy', '&Paste', and '&Delete.’ These strings
are used within the Popup Menu of the Popup BLOB Editor window. Use sdxBlobPopupItems to
change these text strings.

See Also
TdxDBTreeListBlobColumn

sdxCalcError variable
Stores error message text.

Unit
dxCalc

sdxCalcError : string;

Description
If calculation errors occur, this global variable stores the error message text string.

sdxDateError variable

ExpressQuantumGrid Suite Professional by Developer Express


72 Global Variables and Procedures

Unit
dxExEdtr

sdxDateError : string;

Description
This variable contains text of an error message that appears when a user enters an invalid date into
TdxTreeListDateEdit.

See Also
TdxTreeListDateColumn.DateOnError; TdxDBTreeListDateColumn.DateOnError

sdxGrBandsCaption variable

Unit
dxTL

sdxGrBandsCaption: string;

Description
This global variable contains the caption of the bands list in the customizing form. By default, it is
‘Bands’.

See Also
sdxGrColumns; sdxGrHeadersCaption; TCustomdxTreeList.ColumnsCustomizing;
TCustomdxTreeList.CustomizingForm

sdxGrCheckTextFalse variable

Unit
dxDBTLCl

sdxGrCheckTextFalse: string;

Description
The initial value for the ValueUnchecked property of TdxDBTreeListCheckColumn.

See Also
sdxGrCheckTextTrue; TdxDBTreeListCheckColumn.ValueUnchecked

sdxGrCheckTextTrue variable

Copyright © 2000 Developer Express Inc. www.devexpress.com


sdxGrColumns 73

Unit
dxDBTLCl

sdxGrCheckTextTrue: string;

Description
The initial value for the ValueChecked property of TdxDBTreeListCheckColumn.

See Also
sdxGrCheckTextFalse; TdxDBTreeListCheckColumn.ValueChecked

sdxGrColumns variable

Unit
dxTL

sdxGrColumns: string;

Description
This global variable contains the caption of the customizing form. By default, this text is “Customize”.
Use this variable to specify your own caption for the customizing form.

See Also
sdxGrHeadersCaption; sdxGrBandsCaption; TCustomdxTreeList.ColumnsCustomizing;
TCustomdxTreeList.CustomizingForm

sdxGrHeadersCaption variable

Unit
dxTL

sdxGrHeadersCaption: string;

Description
This global variable contains the headers list caption of the customizing form. By default, it is
‘Columns’.

See Also
sdxGrColumns; sdxGrBandsCaption; TCustomdxTreeList.ColumnsCustomizing;
TCustomdxTreeList.CustomizingForm

sdxDeleteMultipleRecordsQuestion variable

Unit

ExpressQuantumGrid Suite Professional by Developer Express


74 Global Variables and Procedures

dxDBGrid

sdxDeleteMultipleRecordsQuestion : string;

Description
This global variable contains the dialog text that appears when a user deletes several records from the
ExpressQuantumGrid. By default, this text is “Delete all selected records ?”. You can change this
variable to specify your own message.

sdxGrDeleteRecordQuestion variable

Unit
dxDBGrid

sdxGrDeleteRecordQuestion : string;

Description
This global variable defines a string that appeares when a user deletes a record from the
ExpressQuantumGrid. By default, this string is “Delete Record ?”. You can assign different text to this
variable.

sdxGrTitleConfirm variable

Unit
dxDBGrid

sdxGrTitleConfirm : string;

Description
This global variable contains the title that appears in the confirmation dialog box. These dialogs
appear, for instance, when a user deletes one or more records from the ExpressQuantumGrid. By
default, sdxGrTitleConfirm contains the text ‘Confirm’.

sdxPanelText variable

Unit
dxDBGrid

sdxPanelText : string;

Copyright © 2000 Developer Express Inc. www.devexpress.com


variable 75

Description
This global variable contains the text drawn on the grouping panel. By default, this text is “Drag a
column header here to sort by that column”. Use this variable to specify your own text for the grouping
panel.

ExpressQuantumGrid Suite Professional by Developer Express


76 Index

Index

A H
AbsoluteIndex..........................................................................12 HasAsParent............................................................................22
Active .......................................................................................5 HasChildren.............................................................................14
Add................................................................................... 52, 60
AddChild.................................................................................18 I
AddChildFirst..........................................................................18
Id 28
AddLayout ..............................................................................10
ImageIndex..............................................................................14
AddMapping............................................................................40
AddNodesToList ......................................................................18 Index.......................................................................................14
Assign.......................................................................................6 IndexOf............................................................................. 22, 23
InsertChild...............................................................................23
AssignTo...................................................................................6
IsLast ......................................................................................15
C IsVisible..................................................................................15
Items.........................................................................9, 15, 51, 59
Clear.........................................................................................6
ClearItems...............................................................................10 L
ClearMapping..........................................................................40
Collapse..................................................................................19 LayoutList .................................................................................5
ColumnName...........................................................................46 Level.......................................................................................15
LoadDBGridFilterFromFile.......................................................68
CompareByAbsoluteIndex.........................................................67
LoadDBGridFilterFromStream..................................................68
Count.................................................................................. 9, 12
CountValues...................................................................... 12, 13 M
Create.....................................................................................19
MakeVisible ............................................................................23
D Modified.................................................................................40
MoveTo..................................................................................23
Data........................................................................................13
DBGrid ...................................................................................59 N
DefaultGroup ...........................................................................54
Delete.....................................................................................30 Name ......................................................................................55
DeleteChildren.........................................................................19
Deleting..................................................................................13 O
Description..............................................................................28
Destroy...................................................................................20 OnSummary............................................................................49
dxTimeEditMaxValue...............................................................69 Owner.....................................................................................16
dxTimeEditMinValue ...............................................................69
P
dxTimeEditOneHour ................................................................69
dxTimeEditOneMin..................................................................69 Parent......................................................................................16
dxTimeEditOneSec...................................................................70
R
E
RecNo.....................................................................................35
Expand....................................................................................20 Reset.......................................................................................40
Expanded................................................................................13 RestoreDefault....................................................................... 6, 7
F S
FCheckHeight..........................................................................67 SaveDBGridFilterToFile...........................................................70
FCheckWidth...........................................................................68 SaveDBGridFilterToStream.......................................................70
FieldCount...............................................................................39 sdxBlobEditButtons..................................................................70
Fields......................................................................................39 sdxBlobPopupItems..................................................................71
Focused............................................................................. 13, 14 sdxCalcError............................................................................71
sdxDateError............................................................................71
G sdxDeleteMultipleRecordsQuestion............................................73
GetDefaultGroup......................................................................60 sdxGrBandsCaption..................................................................72
GetNext...................................................................................20 sdxGrCheckTextFalse...............................................................72
GetNextNode...........................................................................20 sdxGrCheckTextTrue................................................................72
GetNextSibling........................................................................21 sdxGrColumns.........................................................................73
GetPrev...................................................................................21 sdxGrDeleteRecordQuestion......................................................74
GetPrevSibling.........................................................................21 sdxGrHeadersCaption...............................................................73
GetPriorNode...........................................................................22 sdxGrTitleConfirm ...................................................................74
GetPriorParentNode..................................................................22 sdxPanelText ...........................................................................74
GetSummaryGroups........................................................... 56, 57 Selected...................................................................................16
GetSummaryItems....................................................................48 SelectedIndex...........................................................................16
GroupId...................................................................................35 StateIndex...............................................................................17
Strings.....................................................................................17

Copyright © 2000 Developer Express Inc. www.devexpress.com


variable 77

TdxTreeListNode................................................................. 17 FieldCount.......................................................................... 39
SummaryField....................................................................46, 47 Fields ................................................................................. 39
SummaryFormat ...................................................................... 47 Modified............................................................................. 40
SummaryGroup ....................................................................... 51 Reset.................................................................................. 40
SummaryItems......................................................................... 55 TdxGridDrawInfo ...............................................................61, 62
SummaryType ......................................................................... 46 TdxGridEmptyRectDrawInfo ...............................................64, 65
SummaryValue ...................................................................35, 36 TdxGridHeaderDrawInfo.....................................................63, 64
SummaryValues....................................................................... 36 TdxGridRowDrawInfo.............................................................. 65
TdxHeaderPosInfo ................................................................... 66
T TdxTreeListNode..................................................................... 11
AbsoluteIndex..................................................................... 12
TdxDBGridLayout ..................................................................... 4 AddChild............................................................................ 18
Active................................................................................... 5 AddChildFirst ..................................................................... 18
Assign .................................................................................. 6
AddNodesToList ................................................................. 18
AssignTo.............................................................................. 6
Collapse.............................................................................. 19
Clear.................................................................................... 6 Count ................................................................................. 12
LayoutList ............................................................................ 5 CountValues ....................................................................... 12
RestoreDefault ...................................................................... 6
Create................................................................................. 19
TdxDBGridLayout Methods........................................................ 6
Data................................................................................... 13
TdxDBGridLayout Properties...................................................... 5 DeleteChildren .................................................................... 19
TdxDBGridLayoutList................................................................ 8 Deleting.............................................................................. 13
AddLayout.......................................................................... 10
Destroy............................................................................... 20
ClearItems.......................................................................... 10
Expand............................................................................... 20
Count ................................................................................... 9 Expanded............................................................................ 13
Items.................................................................................... 9 Focused.............................................................................. 13
TdxDBGridLayoutList Methods................................................ 10
GetNext.............................................................................. 20
TdxDBGridLayoutList Properties................................................ 9 GetNextNode ...................................................................... 20
TdxDBGridNode GetNextSibling.................................................................... 21
Delete................................................................................. 30
GetPrev .............................................................................. 21
Description......................................................................... 28
GetPrevSibling.................................................................... 21
GroupId.............................................................................. 35 GetPriorNode...................................................................... 22
Id 28 GetPriorParentNode............................................................. 22
RecNo................................................................................ 35
HasAsParent ....................................................................... 22
SummaryValue.................................................................... 35
HasChildren........................................................................ 14
SummaryValues .................................................................. 36 ImageIndex......................................................................... 14
VariantData......................................................................... 28 Index.................................................................................. 14
VariantValues ..................................................................... 29
IndexOf.............................................................................. 22
TdxDBGridSummaryGroup ...................................................... 53
InsertChild.......................................................................... 23
DefaultGroup ...................................................................... 54 IsLast ................................................................................. 15
GetSummaryGroups........................................................56, 57 IsVisible ............................................................................. 15
Name.................................................................................. 55
Items.................................................................................. 15
SummaryItems.................................................................... 55
Level.................................................................................. 15
TdxDBGridSummaryGroups..................................................... 58 MakeVisible........................................................................ 23
Add.................................................................................... 60 MoveTo.............................................................................. 23
DBGrid............................................................................... 59
Owner................................................................................ 16
GetDefaultGroup................................................................. 60 Parent................................................................................. 16
Items.................................................................................. 59 Selected.............................................................................. 16
TdxDBGridSummaryItem......................................................... 45
SelectedIndex...................................................................... 16
ColumnName...................................................................... 46
StateIndex........................................................................... 17
GetSummaryItems............................................................... 48 Strings................................................................................ 17
OnSummary........................................................................ 49 Values ................................................................................ 17
SummaryField..................................................................... 46
TdxTreeListNode Methods........................................................ 18
SummaryFormat .................................................................. 47
TdxTreeListNode Properties...................................................... 12
SummaryType..................................................................... 46 TdxTreeListTextNode .............................................................. 25
TdxDBGridSummaryItems....................................................... 50 TdxTreeListTextNode Properties............................................... 26
Add.................................................................................... 52
Items.................................................................................. 51 V
SummaryGroup................................................................... 51
TdxGridBandDrawInfo............................................................. 63 Values .................................................................................... 17
TdxGridDataLink VariantData........................................................................28, 29
AddMapping....................................................................... 40 VariantValues.......................................................................... 29
ClearMapping..................................................................... 40

ExpressQuantumGrid Suite Professional by Developer Express

You might also like