List List Item (PRIM_LIST.ListItem)

List Item

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
CheckBoxesShow or hide a check box for the item
CheckedChecked state of the time
CheckEnabledEnabled or disable the checkbox for the item
CheckReadOnlySet the checkbox to be readonly on input capable
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)
EntryEntry number of the item in the underlying data list
ExpandedItem is expanded or collapsed
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
ImageRepository enrolled image to show in the control
ItemCountNumber of items with a parent of this item
ItemsCollection of all items parented to this time
LevelNumeric level of the item.
ListReference to the parent List
MarginBottomBottom margin in pixels
MarginTopTop margin in pixels
ModifiedUsed to determine whether the item content has been changed by the user
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)
ParentItemReference to the parent item of the list item. Items at the root have a parentitem of null.
ParentItemsCollection of all items in the level above the item
PositionPosition of the item in the component list
RelatedReferenceReference to an object instance to be stored for this item
RowHeightHeight of the row in pixels
ScrollLeftLeft position of a scrolled child control relative to its parent control
ScrollTopTop position of a scrolled child control relative to its parent control
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
ThemeDrawStyleName of the Theme DrawStyle to be applied to the list item
VisibleShow or hide the item

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from List List Item (PRIM_LIST.ListItem)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from List List Item (PRIM_LIST.ListItem)
ItemCollapsedA list item has collapsed, hiding all child items
Item
ItemExpandingA list item has expanded, showing all child items
Item
ItemGotFocusFired when an item receives the focus
Item
ItemGotParentA parent has been assigned to the list item
Item
ItemGotSelectionFired when an item in the list becomes selected
Item
ItemLostFocusFired when the item loses focus
Item
ItemLostSelectionItemLostSelection happens when another item is selected
Item
ItemRealizingFired when an item design instance is realized, typically when the it comes in to the view port
Item

Methods

NameDescription
CollapseCollapse the item
DeleteDelete the item
DeleteAllDelete all items in the list
ExpandExpand the item

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2