Open a panel in different screen

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
jeissonsierrac
Posts:62
Joined: Wed Jun 03, 2015 9:37 pm

Open a panel in different screen

Post by jeissonsierrac »

Hello, I'm developing an application that uses 2 screens , on the first screen i have a main menu, I would like that when I click on an item in the main menu, the system opens a panel on the second screen ¿Is there any function that can be given as a parameter the name of the screen?

thanks

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Open a panel in different screen

Post by mkoller »

When you have multiple screens, they are usually configured as one large virtual desktop. So effectively you have just one desktop with a larger coordinate system.
You can open a new window (Module) with a panel in it on a specific x,y coordinate, e.g.
ModuleOnWithPanel("newModule", x, y, ...)
You can get the coordinates of your different screens via getScreenSize() (e.g. it tells you the startX, startY coordinate).

2 posts • Page 1 of 1