New topic: Setting window location from mouse location
<http://forums.realsoftware.com/viewtopic.php?t=46572> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message neonash7777 Post subject: Setting window location from mouse locationPosted: Tue Jan 15, 2013 2:45 pm Joined: Mon Nov 29, 2010 7:01 pm Posts: 363 I have a custom menu I made with a Modal Dialog. I want the Modal Dialog to appear at the mouse location so I did self.Left = MouseX self.Top = MouseY But the window doesn't even appear close to where it should. What am I doing wrong? Does it matter that I have dual monitors? I also want the modal dialog to be closed when the user clicks off of it like the normal MenuItem's do - is this possible? Thanks! Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
