views:

100

answers:

2

Hi, My message dilogs seem to disppear below the main form. This only random. Most of the time it displays correctly on top, but some times disppear behind the main application form . What could be the reson?

Thanks

+2  A: 

Try using MyForm->ShowModal() instead of MyForm->Show()

Maltrap
+3  A: 

Look at the TForm::PopupMode, TForm::PopupParent, and TApplication::ModalPopupMode properties. They were introduced specifically to fix Z-order problems that plaqued older versions.

Remy Lebeau - TeamB