Hello,
Why is not possible to set the Window Topedge or Leftedge ?
After run my script is not possible to change/set position of my windows muiroyal?
thank you
Why is not possible to set the Window Topedge or Leftedge ?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: way
It is against MUI guidelines. MUI's philosophy says that window positioning is done by the user, not by the application.
Re: Why is not possible to set the Window Topedge or Leftedge ?
Otherwise, the mui class "PopObject" could do it
Do you think it would be possible to add it to muiroyal?
Do you think it would be possible to add it to muiroyal?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Why is not possible to set the Window Topedge or Leftedge ?
What do you want to do?
Re: Why is not possible to set the Window Topedge or Leftedge ?
I want to open a window MUI next to a button (a popup)
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Why is not possible to set the Window Topedge or Leftedge ?
Well, as you can see from the MUI docs MUI has the I.G applicability for Window.LeftEdge so MUI Royale can‘t do anything against this limitation. However, you can simply dynamically create and destroy your popup window using mui.CreateObject() and then it‘s easily possible to use Window.LeftEdge and Window.TopEdge because they are allowed at initialisation time. Check out the examples to see how to dynamically create windows.
Re: Why is not possible to set the Window Topedge or Leftedge ?
Ok, it's complicated but it's a solution ...
Thank you
Thank you