Mulitple Monitors
I have been trying to direct the preview to a specific monitor. in PreviewFormCreate I am doing the following however it still shows on the primary monitor 0; I have hardcoded monitor 2 for testing. I have three monitors.
NumofMonitors:=Screen.MonitorCount;
TheMonitor:=Screen.Monitors[2];
Listrpt3.PreviewFormSettings.ZoomPercentage:=100;
listrpt3.Previewformsettings.WindowState:=wsMaximized;
listrpt3.PreviewForm.MakeFullyVisible(theMonitor);
ListRpt3.print
NumofMonitors:=Screen.MonitorCount;
TheMonitor:=Screen.Monitors[2];
Listrpt3.PreviewFormSettings.ZoomPercentage:=100;
listrpt3.Previewformsettings.WindowState:=wsMaximized;
listrpt3.PreviewForm.MakeFullyVisible(theMonitor);
ListRpt3.print