Spin Edit - EditMouseOverStyles Property

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

Member of Spin Edit (PRIM_EVSE)

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


The EditMouseOverStyles property allows for one or more Styles to be applied to the edit 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.
EditMouseOverStyles allows for more complex programmatic appearance changes to be coded. Rather than relying on the declarative single EditMouseOverStyle, the developer is free to add as many style layers as required.
EditMouseOverStyles 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 EditMouseOverStyle property will remove all existing EditMouseOverStyles.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020