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


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