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
Open a panel in different screen
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Open a panel in different screen
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).
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).