/ Forums / Advansys Formativ / Creating Solutions with Formativ / Modal forms and Applet Processing

  • Creator
    Topic
  • #4010
    Anonymous

    I have an applet that loads several portals at once. I am trying to display a “Please Wait” modal dialog box from a VB DLL while all the portals are loading.

    At the same time, I would like to have applet code running to check on the ReadyState of all portals. Once all portals are ready, I then want to close the dialog box.

    In other words:

    ‘Call to VB to display modal form
    ‘Continue applet processing
    ‘Call to VB to close modal form

    Is this possible, or is there some other way to display a modal dialog box from an applet, and then have it continue processing?

    Thank You

  • Author
    Replies
  • #6840
    Support 1a
    Participant

    Modal windows essentially suspend processing until they are dismissed. In this regard, I can’t think of a means by which you could display a modal dialog (whether it be owned by Formativ or not) and still have applet processing occur.

    We have done something similar in the past, but instead of displaying the form modally, we simply show the form and set it as the topmost window. This allows the applet to continue processing. At the appropriate time the applet closes the window. We had an external COM Automation DLL that exposed a couple of methods – something like ‘ShowStatus’ and ‘HideStatus’.

    I hope this helps.

    Advansys Support

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.