On Dec 15, 2006, at 12:17 PM, Arnaud Nicolet wrote:

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?

I'd sure like to know how you managed to show a sheet window in a message box window. :)

Everything works correctly for me.

Terry Ford

MacOS 10.4.8, 2GHz G5, 1GB Ram



_______________________________________________
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