Inspired by C:\Program 
Files\ooRexx\samples\oodialog\userGuide\exercises\Samples\Popups\OffsetPopups.rex
 
and the special feature of system menues to return the coordinates 
of the cursor if the menu was clicked with the mouse, I wanted to 
show a modal subdialog at the location the user selected the 
system menu item. In addition I used - as recommended - ResEdit 
for this child dialog.

With self~moveTo(x, y); self~ensureVisible() in method initDialog 
it flickers because the dialog is shown first in the middle of the 
display, for almost no time but long enough to make it observably 
flicker once.

Moreover, I have set the mouse to move the pointer to the OK 
button when a dialog pops up. This works for the short occurrence 
of the dialog in the middle of the screen. Alas not for the 
following move with moveTo(). As result the cursor jumps to the 
middle of the screen but the dialog is where the system menu of 
the parent dialog was.

I tried to start the sub dialog using subdlg~execute('HIDE') and 
to bring it to the surface within initDialog() by 
self~show('SHOWTOP'). No success, even though trace shows that 
show() was the last executed statement the execute('HIDE') 
overrides it.

How may I prevent this behaviour?

TIA
M.
--------------------------------------------
Kostenlose E-Mail-Adresse mit unbegrenztem Speicherplatz für E-Mails, Free SMS 
und OK-Drive, der Online-Festplatte.
Sicher Dir jetzt Deine Wunschadresse @ OK.de: www.ok.de

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to