Show a form while program is running?

Discussion in 'AutoCAD' started by GARYNTX, Aug 26, 2004.

  1. GARYNTX

    GARYNTX Guest

    I have a simple form called frmPanelUpdate with a label on it called lblPanel.
    I would like to be able to have this form pop up and let the user know which panel is updating while the program is running.
    The problem is that when the form pops up the program stops.
    How can I get the program to keep running while the form is showing?

    Private Sub InsertPanel()
    'tried to use DoEvents here (didn't work)
    frmPanelUpdate.lblPanel = "Updating panel " & PanelName & "."
    frmPanelUpdate.show
    'run the rest of the program which takes about 10 to 20 seconds
    frmPanelUpdate.hide
    End Sub
     
    GARYNTX, Aug 26, 2004
    #1
  2. GARYNTX

    tj Guest

    Search the vba help file for "showmodal".


    which panel is updating while the program is running.
     
    tj, Aug 26, 2004
    #2
  3. Select your form...Go to properties window...Scroll
    to bottom...Set "showmodal" to false
    gl..
    which panel is updating while the program is running.
     
    Paul Richardson, Aug 26, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.