Closing Modal Form stops Task Bar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Doug Bell

    Closing Modal Form stops Task Bar

    Hi,
    Can someone explain what is happening here or how to get around it?

    I have a main form "PurchaseOrders ". Selecting an Order from the DataGrid
    and Details button opens a Modal Form "OrderDetai ls" displaying the Order
    Lines.

    Dim mOrderDetails AS FormOrderDetail s = New FormOrderDetail s
    mOrderDetails.S howDialog()

    That works fine.

    When the Modal Form is closed whether by X or by the Save or Cancel buttons
    the form closes passing focus back to the main form.

    The problem is that when the focus is passed back to the main form the
    Windows Task Bar will no longer pop-up (unhide). If the form is minimised
    and then re-selected it all works fine again.

    Thanks

    Doug


Working...