Tree View Item (PRIM_TVIT)

Entry in a tree view

Ancestors - Object (PRIM_OBJT)

Details

All LANSA visual list controls manange a collection of items.

Items are created and destroyed whenever entries are added to or deleted from the underlying data list.

Items are the means by which the visual side of the list can be manipulated.

Properties

Name

Description

Bold

Bold sets the tree view item bold

CheckBoxes

Checkboxes controls the display of a check box for the item

Checked

Checked controls whether the item's check box is ticked

CheckEnabled

CheckEnabled controls whether the check box of a tree view item is enabled

CheckReadOnly

Checkbox is readonly

ChildrenCount

ChildrenCount tells the number of child entries

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Enabled

Enable activates/deactivates the component

EnsureVisible

Scroll a list so that the item is within the visible area

Entry

Entry number of the item in the underlying data list

Expanded

True if the item has been expanded

Focus

True if this item is the focus item in the list

FocusedInactiveStyle

Style to be applied to the focus item when the control is not focus

FocusedInactiveStyles

Collection of styles to be applied to the focus item when the control is not focus

FocusedStyle

Style applied to the item when focus

FocusedStyles

Collection of styles to be applied to the item when focus

HasChildren

Controls the appearance of the expand and collapse image for the item

HasLines

HasLines shows or hides the item's lines

Image

Repository enrolled image to show in the control

ImageExpanded

ImageExpanded indicates the status of an item

ImageOverlay

ImageOverlay superimposes another image on an icon

ImageState

ImageState indicates the status of an item

Items

Collection of items in the component

Level

Nesting level of the item

MarginBottom

MarginBottom allows more spacing under a tree item

MarginTop

MarginTop allows more spacing above a tree item

MessageSet

LANSA Internal Use

MessagesOfComponent

LANSA Internal Use

MessagesOfFeature

LANSA Internal Use

Modified

Modified indicates if an item or a cell has changed

MouseOverStyle

Style applied to the item when mouse over

MouseOverStyles

Collection of styles to be applied to the item when mouse over

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

ParentItem

ParentItem is the next item up

Position

Position allows the repositioning of a tree item

RadioButtons

Show a radio button for the item

ReadOnly

ReadOnly controls whether the item can be used for input

RelatedReference

Reference to an object instance to be stored for this item

Selected

True if this item is currently selected

SelectedInactiveStyle

Style to be applied to the item when selected but the control is not focus

SelectedInactiveStyles

Collection of styles to be applied to the item when selected but the control is not focus

SelectedStyle

Style applied to the item when selected

SelectedStyles

Collection of styles to be applied to the item when selected

Style

Styles to be applied to the item

Styles

Collection of styles to be applied to the item

Tree

Reference to the tree containing the item

ValueAt

Value at the specified location

Visible

Show or hide the item

VisualStyle

VisualStyle sets the appearance

Events

Name

Description

CreateInstance

CreateInstance is signaled when an instance of a component is created [Inherited from Tree View Item (PRIM_TVIT)

DestroyInstance

DestroyInstance is signaled when an instance of a component is about to be destroyed [Inherited from Tree View Item (PRIM_TVIT)

Methods

Name

Description

Collapse

Collapse the item to hide child nodes

Expand

Expand the item to show child nodes

SetValueAt

Set the value at the specified position

Result, Column, Value


See also

All Component Classes

Technical Reference