I’m trying to center all message dialogs, including any exception dialogs on the parent form rather than having them always appear in the center of the screen.
I’m using Delphi 7 i note that using MessageDlgPos allows the params of X an Y to locate the dialog on screen, and thats fine for any messages i wish to display to the user. But what about the location of the exception dialogs? Can they appear in the center of the parent form as well?
Any help greatly appreciated!
@Rucia, my suggestion is wich you use the
OnExceptionEvent from theTApplicationEventscomponent, and then create your own dialog using theCreateMessageDialogfunction.see this sample.