I have code that looks like this:

// Do some stuff

dim l as LoginWindow
l.Show

// Do stuff after successful login

The code for checking whether a login is successful is in the Action handler of a button. I don't want the lines of code below l.Show to execute until this handler has executed, as if it were a MsgBox or a MessageDialog. What would be the best way to do this? One idea I had was this:

while l.Visible
  // Do nothing
wend

Is there a better way?

Thanks,
Chuck Ross
_______________________________________________
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>

Reply via email to