Skip to content

SetMargin Method

Description

The SetMargin method sets the top, left, bottom, and right margins of the tool tip window.

Syntax

Public Sub SetMargin( _
    ByVal [left](#) As Long, _
    ByVal [top](#) As Long, _
    ByVal [right](#) As Long, _
    ByVal [bottom](#) As Long _
)

Parameters

  • left: Size of the left margin of the tool tip window in pixels. This is the space that appears between the left border of the tool tip window and the tool tip text.
  • top: Size of the top margin of the tool tip window in pixels. This is the space that appears between the top border of the tool tip window and the tool tip text.
  • right: Size of the right margin of the tool tip window in pixels. This is the space that appears between the right border of the tool tip window and the tool tip text.
  • bottom: Size of the bottom margin of the tool tip window in pixels. This is the space that appears between the bottom border of the tool tip window and the tool tip text.

Remarks

The SetMargin method sets the top, left, bottom, and right margins of the tool tip window. This is the "padding" that is placed around the tool tip text in the tool tip window.

See Also

ToolTipContext Object


See Also

Grid Control ActiveX Control v24.0

Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.