Book Item (PRIM_BOOK.BookItem)

Item created when an entry is added to a book control

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
Book Reference to the Book containing the item
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)
Design Reference to the Design instance for this item
Entry Entry number of the item in the underlying data list
Focus True if this item is the focus item in the list
Image Repository enrolled image to show in the control
MarginBottom Bottom margin in pixels
MarginLeft Left margin in pixels
MarginRight Right margin in pixels
MarginTop Top margin in pixels
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)
Position Position of the item in the component list
RelatedReference Reference to an object instance to be stored for this item
Selected True if this item is currently selected
Visible Show or hide the item

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Book Item (PRIM_BOOK.BookItem)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Book Item (PRIM_BOOK.BookItem)
ItemGotFocus Fired when an item receives the focus
Item
ItemLostFocus Fired when the item loses focus
Item
ItemRealizing Fired when an item design instance is realized, typically when the it comes in to the view port
Item

Methods

Name Description
Delete Delete this item

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020