SALVATORE COPPOLA wrote:
Hi,
if you try to open (or reopen) a project when the current project is in modified state, a "save modification message" (yes no cancel) is prompted and if you choose cancel the current project is closed unsaved and the new one is opened. I think this is not the expected behavior, instead the open (or reopen) should be stopped (annullato) and the current shoul remain opened and unsaved. To do this I moved the above dialog at the begin of the function DoOpenProjectFile and an "exit" is executed on mrCancel and seems to work


Thanks. Applied.

Vincent.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to