Custom Warning Popup

I've seen a couple different example of a custom popup warning dialog box that will come up when the networked workspace cannot be found to give the user a warning that it is switching to the local workspace. I can't remember exactly where I saw this and am unable to locate any sample file. How could this be done? I currently have a CFG file with an if/then statement looking for the network version of the workspace, and then using the local version if it isn't found. Any example CFG file with this warning dialog would be helpful.


Thanks,
Ken

Parents Reply
  • OK, in CONNECT Edition (CE) it will be very clear, the UI has a WorkSpace selection (note that in CE what we call a Workspace in V8i is a Configuration, and a Configuration can contain more than one WorkSpace) that will make it fairly obvious that the local WorkSpace has been selected.

    In V8i if you have a working if/else sequence you can use the %error directive to send a message to a text window, e.g.:

      %if exists (<path>)
      <someVariable>    = <value>
      %error <informative text string, all on one line>
      %endif

    But the V8i application will not proceed any further, which is OK if you want to stop people from proceeding to use the local workspace, but no use if you just wish to warn them.

    To load a warning dialog that was interactive would require some work with VBA so is more complex.

    Marc

Children
No Data