On 24.8.2006, at 19:38, Alexander Bauza wrote:
Hi there,
Try it:
.- New Project with 2 windows on it
.- Window1 has a button with this code:
Window2.ShowModal
.- Put in Windows2.Open event:
dim i as integer
i = MsgBox("Test")
Run and push the button....
Why does the message appear back of Window2???
Thanks in advance
Alexander!
Putting a Message box in a Open event has never been a good idea,
keep in mind that a Open event of a Window is supposed to be fired
just before your Window is displayed, which in this case would mean
that when you fire the MessageBox then Window2 has not been displayed
on the screen.
--
______________________________________________________________________
Björn Eiríksson [EMAIL PROTECTED]
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 54 countries world wide.
______________________________________________________________________
For support: [EMAIL PROTECTED]
To post on the maillist: [EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>