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

NameDescription
BoldBold sets the tree view item bold
CheckBoxesCheckboxes controls the display of a check box for the item
CheckedChecked controls whether the item's check box is ticked
CheckEnabledCheckEnabled controls whether the check box of a tree view item is enabled
CheckReadOnlyCheckbox is readonly
ChildrenCountChildrenCount tells the number of child entries
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
EnabledEnable activates/deactivates the component
EnsureVisibleScroll a list so that the item is within the visible area
EntryEntry number of the item in the underlying data list
ExpandedTrue if the item has been expanded
FocusTrue if this item is the focus item in the list
FocusedInactiveStyleStyle to be applied to the focus item when the control is not focus
FocusedInactiveStylesCollection of styles to be applied to the focus item when the control is not focus
FocusedStyleStyle applied to the item when focus
FocusedStylesCollection of styles to be applied to the item when focus
HasChildrenControls the appearance of the expand and collapse image for the item
HasLinesHasLines shows or hides the item's lines
ImageRepository enrolled image to show in the control
ImageExpandedImageExpanded indicates the status of an item
ImageOverlayImageOverlay superimposes another image on an icon
ImageStateImageState indicates the status of an item
ItemsCollection of items in the component
LevelNesting level of the item
MarginBottomMarginBottom allows more spacing under a tree item
MarginTopMarginTop allows more spacing above a tree item
MessageSetLANSA Internal Use
MessagesOfComponentLANSA Internal Use
MessagesOfFeatureLANSA Internal Use
ModifiedModified indicates if an item or a cell has changed
MouseOverStyleStyle applied to the item when mouse over
MouseOverStylesCollection of styles to be applied to the item when mouse over
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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)
ParentItemParentItem is the next item up
PositionPosition allows the repositioning of a tree item
RadioButtonsShow a radio button for the item
ReadOnlyReadOnly controls whether the item can be used for input
RelatedReferenceReference to an object instance to be stored for this item
SelectedTrue if this item is currently selected
SelectedInactiveStyleStyle to be applied to the item when selected but the control is not focus
SelectedInactiveStylesCollection of styles to be applied to the item when selected but the control is not focus
SelectedStyleStyle applied to the item when selected
SelectedStylesCollection of styles to be applied to the item when selected
StyleStyles to be applied to the item
StylesCollection of styles to be applied to the item
TreeReference to the tree containing the item
ValueAtValue at the specified location
VisibleShow or hide the item
VisualStyleVisualStyle sets the appearance

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Tree View Item (PRIM_TVIT)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Tree View Item (PRIM_TVIT)

Methods

NameDescription
CollapseCollapse the item to hide child nodes
ExpandExpand the item to show child nodes
SetValueAtSet the value at the specified position
Result, Column, Value

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2