Multi-line Edit Box - LabelMouseOverStyles Property

MouseOverStyle defines the style to be applied to a control when the mouse is over it

Member of Multi-line Edit Box (PRIM_EVEM)

Data Type - Collection ofPRIM_VS.Style - Style used to define foreground and background appearance


The LabelMouseOverStyles property allows for one or more Styles to be applied to the Label portion of the field when the mouse enters the physical bounds of the control.
They will be removed when the mouse leaves the control bounds.
LabelMouseOverStyles allows for more complex programmatic appearance changes to be coded. Rather than relying on the declarative single LabelMouseOverStyle, the developer is free to add as many style layers as required.
LabelMouseOverStyles negates the need to code many MouseEnter and corresponding MouseLeave events, instead allowing for a for the styles to be added and managed at runtime.
Setting the LabelMouseOverStyle property will remove all existing LabelMouseOverStyles.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020