1. Computing

Reposition A MessageDlg To Your (Delphi Application) Main Form

By October 16, 2012

Follow me on:

in Forms & Dialogs :: In this tutorial, I'll show you how to quickly redesign the MessageDlg box to have it positioned where ever you like, simply by passing it a location. A custom MessageDlgPos function you can use in your Delphi applications to decide if you want to center the dialog on your main form, owner form, screen center and so on simply by passing a particular type variable.

Read the full article to learn how to MessageDlg Position As poDesktopCenter, poMainFormCenter, ....

Related:

Comments
Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.