Page 1 of 1

Why is not possible to set the Window Topedge or Leftedge ?

Posted: Wed Jul 11, 2018 1:05 am
by sinisrus
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

Re: way

Posted: Wed Jul 11, 2018 8:40 am
by sinisrus
Sorry for Subject "way" I wanted to write => Why is not possible to set the Window Topedge or Leftedge ?

Re: way

Posted: Wed Jul 11, 2018 11:01 am
by airsoftsoftwair
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 ?

Posted: Fri Jul 13, 2018 8:59 am
by sinisrus
Otherwise, the mui class "PopObject" could do it

Do you think it would be possible to add it to muiroyal?

Re: Why is not possible to set the Window Topedge or Leftedge ?

Posted: Mon Jul 16, 2018 11:58 pm
by airsoftsoftwair
What do you want to do?

Re: Why is not possible to set the Window Topedge or Leftedge ?

Posted: Tue Jul 17, 2018 1:02 am
by sinisrus
I want to open a window MUI next to a button (a popup)

Re: Why is not possible to set the Window Topedge or Leftedge ?

Posted: Tue Jul 17, 2018 11:54 pm
by airsoftsoftwair
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 ?

Posted: Wed Jul 18, 2018 5:43 pm
by sinisrus
Ok, it's complicated but it's a solution ...

Thank you