PRIM_LIST.LabelCurrentItem (PRIM_LIST.LabelCurrentItem)

Provides access to the label of the current list item

Ancestors - List Current Item (PRIM_LIST.CurrentItem) Object (PRIM_OBJT)

Details

Prim_MD.ListLabel is a control List that is visualized as a Label.
Each control type has a corresponding control class that provides access to the control instance.
The Label for each item can be modified independently using the current item for the control in the same way that other visual LANSA lists allow the current item for the list to be used.
 
A Label control is created whenever a Label is dragged and dropped from the controls view.

Properties

NameDescription
CaptionText to be displayed within the label
CaptionAlignmentPosition of the caption within the control
CaptionMarginBottomBottom margin in pixels
CaptionMarginLeftLeft margin in pixels
CaptionMarginRightRight margin in pixels
CaptionMarginTopTop margin in pixels
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)
EllipsesShow ellipses for truncated text
EnabledEnable or disable the list item Inherited from List Current Item (PRIM_LIST.CurrentItem)
HintHint to be shown for the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
HintPopupHintPopup to be shown for the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
HintTitleHint title to be shown for the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
IconMaterial design image to show on the control
IconAlignmentPosition of the icon within the control
IconColorColor to be applied to the icon
IconFileNameFileName is the name of image file
IconHeightHeight of the icon in pixels
IconImageMaterial design image to show on the control
IconImageSizingSpecifies the sizing behaviour of the IconImage
IconMarginBottomBottom margin in pixels
IconMarginLeftLeft margin in pixels
IconMarginRightRight margin in pixels
IconMarginTopTop margin in pixels
IconOpacityPercentage opacity of the icon
IconPaddingPadding of the icon in pixels
IconThemeDrawStyleDrawstyle to be applied to Icon
MouseOverStyleStyle to be applied when the mouse enters the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
MouseOverStylesCollection of styles to be applied when the mouse enters the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
PaddingBottomBottom padding in pixels
PaddingLeftLeft padding in pixels
PaddingRightRight padding in pixels
PaddingTopTop padding in pixels
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)
PopupPopup to be shown for the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
StyleStyle to be applied to the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
StylesCollection of styles to be applied to the current column/item Inherited from List Current Item (PRIM_LIST.CurrentItem)
ThemeDrawStyleThemeDrawStyle to be applied to the current item in the column Inherited from List Current Item (PRIM_LIST.CurrentItem)
VisibleShow or hide the list item Inherited from List Current Item (PRIM_LIST.CurrentItem)
WordWrapWrap text on to the next line if there is insufficient space

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from PRIM_LIST.LabelCurrentItem (PRIM_LIST.LabelCurrentItem)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from PRIM_LIST.LabelCurrentItem (PRIM_LIST.LabelCurrentItem)

Methods

NameDescription
SetFocusSets focus to the currentitem in the list Inherited from List Current Item (PRIM_LIST.CurrentItem)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020