LMD DialogPack
|
The monitor on which to display the dialog on.
property DefaultMonitor: TDefaultMonitor;
Use this property to manipulate which monitor you want the dialog to display on.
This setting is ignored when the Position is set to dpOwnerFormCenter.
To display the dialog on a secondary monitor (which is setup to the left of the primary monitor) and the active form is on the primary monitor, use the following:
JSDialog1.DefaultMonitor := dmDesktop; JSDialog1.Location.X := -500; JSDialog1.Location.Y := 0; JSDialog1.Position := dpDesigned; JSDialog1.Execute;
Copyright © 2013 by LMD Innovative. All rights reserved.
|
What do you think about this topic? Send feedback!
|