Loading GST Billing Software
header image

Kushal Help : TreeView Control in Kushal

Erachana Line

Tree View
Tree View is a set of Controls that include a TreeView Control and four buttons that enable hierarchical representation of data at runtime.



Part1: TreeView Control

The TreeView Control consists of a tree type representation of data of hierarchical nature.



Properties

Association

AltText

Sets the action type of the Button.

AssociatedGrid

Sets the Associated DataGrid to TreeView Control

AssociatedTextBox

Gets or Sets the value from textbox

DisplayText

Gets or Sets the Display value field of Tree Node

KeyField

Gets or Sets the Key Value field of Tree View

Parent KeyField

Get or Sets the Parent Key value of Tree View Node

SerialNumberField

Sets the incrementing unique ID for the nodes in the tree.

TableName

Set the Table Name to which the TreeView is associated

Design

AllowDeleteChildNodes

A value indicating whether the child nodes of a tree may be deleted at runtime or not.

BackColor

The background color for the Control

Enabled

A value indicating whether the Control can respond to user interaction or not

Font

The font style properties of the text displayed by the Control

ForeColor

The foreground (Font color) color of the Control

TabIndex

The tab order of TreeView

Visible

A value indicating whether the Control and all its child Controls are displayed or not.

Display

Name

The name of the Control

ToolTip

A small pop-up window that displays some information when you hover mouse on a Control

Location

Left

The distance, in pixels, between the left edge of the TreeView and the left edge of the Container

Top

The distance, in pixels, between the top edge of the TreeView and the top edge of the container

Size

Height

The height of the Control in pixels

Width

The width of the Control in pixels

Part 2: TreeView Associated Buttons

The Buttons which display top, left, right and bottom arrows are used to move selected nodes within the Tree View based on its hierarchical location in the TreeView Control.



Properties

Association

ActionType

Sets the action type of the Button.

AssociatedDataGrid

Sets the Associated DataGrid to which the Button is associated

AssociatedImage

Sets the Image to be associated with this Button

AssociatedInputControl

Sets the Associated Control with Button and reloads the same.

AssociatedTreeView

Set the Treeview Control with Button.

Command

Sets the External application Commands.

DefaultButtonType

Sets the Default Button type of predefined Actions.

FormName

Sets the Form to Button.

FormProperties

Set Input Parameters to specified form in string array format.

ReportFile

Sets the Report File Path, which has to show the report.

ReportQuery

Set the Query to the Report File.

TreeViewDisplayTextField

Set the Text to the node.

TreeViewKeyField

Sets the Key value of the Node.

TreeViewParentKeyField

Sets the Parent key value of the Node.

Design

Alignment

Sets how content inside the Control is aligned.

Appearance

Sets the visual appearance of the Control at runtime

BackColor

The background color for the Control

Enabled

A value indicating whether the Control can respond to user interaction or not

Font

The font style properties of the text displayed by the Control

ForeColor

The foreground (Font color) color of the Control

TabIndex

The tab order of TreeView

Visible

A value indicating whether the Control and all child Controls are displayed or not.

Display

Image

The image to be displayed on the Control

ImageAlignment

Sets the alignment of the Image on the Control

Name

The name of the Control

Text

The text associated with this Control

ToolTip

A small pop-up window that displays some information when you hover mouse on a Control

Location

Left

The distance, in pixels, between the left edge of the Tab and the left edge of the Container

Top

The distance, in pixels, between the top edge of the Tab and the top edge of the Container

Size

Height

The height of the Control in pixels

Width

The width of the Control in pixels



<< Previous
Home
Next >>