When I mouse click on an object a popup menu appears but I want it to show centered in the screen area. I tried the following:
127 is width of popup menu in pixels
101 is height of popup menu in pixels
The popup menu always appears in the lower right corner of the screen
Code:
'
'
MenuX = (Screen.Width - 127)
MenuY = (Screen.Height - 101)
PopupMenu mnuOptions, , MenuX, MenuY
'
'
101 is height of popup menu in pixels
The popup menu always appears in the lower right corner of the screen