Quantcast
Viewing all articles
Browse latest Browse all 15628

[RESOLVED] Center Popup Menu in Screen

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:

Code:

  '
  '
MenuX = (Screen.Width - 127)
MenuY = (Screen.Height - 101)

PopupMenu mnuOptions, , MenuX, MenuY
  '
  '

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

Viewing all articles
Browse latest Browse all 15628

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>