Menu.ShowAtButton
Description
- Meant for use on bar buttons, this command shows a menu aligned with the button used to display it.
Syntax
- Menu.ShowAtButton(clname)
Parameters
- clname
- (string) name of the command list to use for the menu
Examples
- Menu.ShowAtButton("Locations")
- This command could be used with a button labelled "Locations", which would open the Locations command list as a menu aligned with this button.
Notes
- For horizontal bars, the menu is shown below or above the button, depending on which half of the screen the bar is in.
- For vertical bars, the menu is shown to the left or right of the button, depending on which half of the screen the bar is in.
See Also
- Menu.Show()
- PPSR > Built-in Commands > Menu > Show