This command activates a TPopupMenu object on the form. This would be a menu that you will display at runtime in connection with the user pressing a specific key or clicking on a button.
WMENU f/c/e | Required - The name of the TPopupMenu object on the form |
AT f/c/e,f/c/e | Required - The column and row coordinates of the upper left corner of the Popup Menu. These are offsets from the upper left corner of the active form. |
COMMENTS
This is how you get a TPopupMenu that isn't connected to an entry field to display at runtime. If the user chooses an option from the menu displayed the action within the program is the same as if this was a standard Windows type menu at the top of the screen. That is, the program will look for a line label that has the same name as the TMenuItem and the .Click event type.
After the user chooses a menu item the menu will disappear automatically. The same occurs if the user clicks anywhere outside of the menu.
Page url: http://www.cassoftware.com/tas/manual/displaywindowsmenu.htm