How to make the project full screen, resize to all monitor size.?
No resizable, No movable,
hope this is clear
Thnaks![]()
Professional Software Development Tools
How to make the project full screen, resize to all monitor size.?
No resizable, No movable,
hope this is clear
Thnaks![]()
do you mean kiosk mode or resize the actual window to the users screen
EDIT:
to make the window full screen use this
to make the app a kiosk go in to settings and check the kiosk radio buttonDis = System.GetDisplayInfo();
Window.SetPos(Application.GetWndHandle(), 0, 0);
Window.SetSize(Application.GetWndHandle(), Dis.Width, Dis.Height);
Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
Open your eyes to Narcissism, Don't let her destroy your life!!
RizlaUK ........ man you are a legend !!!
This is what I want:
Dis = System.GetDisplayInfo();
Window.SetPos(Application.GetWndHandle(), 0, 0);
Window.SetSize(Application.GetWndHandle(), Dis.Width, Dis.Height);
Works fine, Thank you.![]()
RizlaUK , just a tiny problem, everything goes to left top corner when view in my monitor 19" widescreen.
Last edited by nals; 03-24-2007 at 08:16 PM.
If you use Kiosk mode, you will get the app opening centered on screen.
Yossi
ok, remove this line
Code:Window.SetPos(Application.GetWndHandle(), 0, 0);
then add this in globals
and put this in page on showCode:function CenterThisWindow() local hWnd = Application.GetWndHandle(); local WndSize = Window.GetSize(hWnd); local ScreenRes = System.GetDisplayInfo(); local NewPos_X = (ScreenRes.Width - WndSize.Width)/2; local NewPos_Y = (ScreenRes.Height - WndSize.Height)/2; Window.SetPos(hWnd, NewPos_X, NewPos_Y); end
Code:CenterThisWindow();
Open your eyes to Narcissism, Don't let her destroy your life!!
RizlaUK , I did that still not working, I have attached the file
![]()
works ok for me,
if you mean the objects are all to the top left then you need to reset there positions in page on size event, as when the window expands it dose it from the right and the bottom
and you should update your ams
your version 6.0.0.0
current version 6.0.5.0
Open your eyes to Narcissism, Don't let her destroy your life!!
I want everyhting to be in the middle, I mean the text the buttons.
maybe its my monitor, I have wide screen 19", Is the version make difference??
When you run , is everyhting on top left corner , or in the middle.?
I want all to be centered,
you are going to have to script it
when you have resizable apps or apps that change size at runtime you have to readjust the object positions to suit the screen size as every thing is pushed to the top left coz the window expands from the bottom and the right hand side
also you have to make the app resizable inorder to make it work
take a look in the page onsize to see what i mean
Last edited by RizlaUK; 02-01-2009 at 11:35 AM.
Open your eyes to Narcissism, Don't let her destroy your life!!
you may be able to glean some information from this demo I threw together.
RizlaUk, That is working fine, you have added a script onSize. Thanks
and Worms sample file its a different methord also working fine too.
Thanks guys for you time to help me.
Thank you................![]()
and sorry if i m asking too many questions in this forum![]()
well I won't learn if I don't ask questions.