AdvancedHMI Software

General Category => Support Questions => Topic started by: Jinx182 on March 14, 2019, 07:06:04 PM

Title: Multiple Monitors
Post by: Jinx182 on March 14, 2019, 07:06:04 PM
Hi.
I'm very new to AHMI and .net for that matter but am trying to learn quickly as I'm very excited about the potential.
I'm working on a project now where it would be very helpful to be able to display one form on one monitor and another on a 2nd monitor. I want to have andon displays showing different information. My goal could also be accomplished by running two different instances at the same time on the same PC.
Can this be done, and if so can someone point me in the right direction?
Title: Re: Multiple Monitors
Post by: Phrog30 on March 14, 2019, 07:57:47 PM
Here is a sample app that does multiple monitors, up to four. That's the limit I set.
You should be able to run and if you have multiple monitors it should open a form on each. I was pointing to a Logix processor, so you will see errors.


I use parents, you don't have to do that. The code for multi monitor is in 1st parent.

https://www.advancedhmi.com/forum/index.php?topic=2323.msg13814#msg13814
Title: Re: Multiple Monitors
Post by: Archie on March 14, 2019, 08:01:13 PM
As for running 2 separate applications, this explains how to launch the second app on the second monitor:

https://www.advancedhmi.com/forum/index.php?topic=1516.msg8111#msg8111
Title: Re: Multiple Monitors
Post by: Jinx182 on March 14, 2019, 08:07:49 PM
Thank both of you very very much. I will try this out tomorrow when I'm back in the office.