You are here: Symbol Reference > JSDialog Namespace > Classes > TJSDialog Class > TJSDialog Properties > TJSDialog.DefaultMonitor Property
LMD DialogPack
ContentsIndexHome
Example

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.
Copyright © 2013 by LMD Innovative. All rights reserved.