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
Upvotes: 1
Views: 304
Reputation: 597860
Look at the TForm::PopupMode, TForm::PopupParent, and TApplication::ModalPopupMode properties. They were introduced specifically to fix Z-order problems that plaqued older versions.
Upvotes: 3