Hi,

I don't understand why it is allowed:

  dim f As Folderitem
  dim w As WinNewFolderName

  w=new WinNewFolderName
  if f=nil then
    MsgBox "Cannot use an invalid file."
    Return
  end if
  w.showModal

WinNewFolderName is a sheet window. Now, if f is nil, the window (w), already created, is shown inside the message box. Well, I understand that a message box is also a window, but, in my buggy code, should not the window be displayed at the return statement, after the message box has been closed?

It seems obscure to me. Any hint welcome.
_______________________________________________
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