Skip to content

ShowPopup Method

Description

Displays the command bar as a popup menu at the specified screen coordinates.

Syntax

Public Function ShowPopup( _
    Optional ByVal Flags As Variant, _
    Optional ByVal x As Variant, _
    Optional ByVal y As Variant _
) As Long

Parameters

  • Flags: The flags of the popup.
  • x: The x-coordinate where the popup menu should be shown.
  • y: The y-coordinate where the popup menu should be shown.

Remarks

Displays a popup menu at the specified coordinates that contains all of the controls in the command bar's collection of controls. If used with SetPopupToolBar, a popup toolbar is displayed at the desired location instead of the standard popup menu.

See Also


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