Message box appears under the form

  • Thread starter Thread starter Yahya Saad
  • Start date Start date
Y

Yahya Saad

Dear Sirs,

I am in the process of developing a com add-in, where a message box
is popped up before an item is sent, therefore the item appears to freeze
and the message box appears under the form. How can I present the message
box at the top?

Thank You
Yahya
 
Use a form to display your dialog instead of a MsgBox and use Me.ZOrder 0 in
the Form.Activate event handler. If you want your form to be modal so a
response is provided before the code continues then open your form modally.
 
Thank you, it went fine.


Ken Slovak - said:
Use a form to display your dialog instead of a MsgBox and use Me.ZOrder 0 in
the Form.Activate event handler. If you want your form to be modal so a
response is provided before the code continues then open your form modally.
 
Back
Top