Skip to content

ShowImage Method

Description

Specifies whether to display images in the tooltip window.

Syntax

Public Sub ShowImage( _
    ByVal ShowImage As Boolean, _
    ByVal ImageBase As Long _
)

Parameters

  • ShowImage: True to display images in the tooltip window, False to hide images in tooltip windows.
  • ImageBase: This is the offset to add to the id to specify a large image. Set to 0 to display only standard button icons associated with the control.

Remarks

To add an image to a tooltip as seen in Office 2007 style tooltip, which is usually a large image that is a shrunken screenshot of the dialog/function a menu item or button performs, you would simply add another image to the image manager that has the same id as the button/menu item plus the ImageBase value. When the ShowImage parameter is True and the ImageBase is greater than 0, it will automatically add the ImageBase to all control ids when displaying the picture in the tooltips.

See Also


See Also

Flow Graph ActiveX Control v24.0


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