Style - BorderTop Property

Width of the border to be shown at the top

Member of Style (PRIM_VS.Style)

Data Type - Integer


The BorderTop property is used in conjunction with BorderBottom, BorderLeft and BorderRight to define the thickness of the border displayed around a control.
Borders consume part of the control when applied. This is particularly relevant when applying a style with top and left borders on MouseOver. The top and left borders will effectively cause the 0, 0 coordinates to move resulting in child control moving screen position.
Borders are not inherited by child controls. This ensures that a border applied to a parent is not repeated verbatim on child controls.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020