Listbox Item (PRIM_LBIT)

Entry in a listbox

Ancestors - Object (PRIM_OBJT)

Details

Items are the visual equivalent of the individual entries in a list.
 
One item is created for each entry that is added to the list and will be destroyed whenever the entry is deleted.
 
The position and other visual properties of the items in a list can be manipulated without changing the underlying data.

Properties

Name Description
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)
EnsureVisible Scroll a list so that the item is within the visible area
Entry Entry number of the item in the underlying data list
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
Image Repository enrolled image to show in the control
ImageOverlay ImageOverlay superimposes another image on an icon
MessageSet LANSA Internal Use
MessagesOfComponent LANSA Internal Use
MessagesOfFeature LANSA Internal Use
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)
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
ValueAt Value at the specified location

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Listbox Item (PRIM_LBIT)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Listbox Item (PRIM_LBIT)

Methods

Name Description
SetValueAt Set the value at the specified position
Result, Column, Value

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020