Page 1 of 1
code for scaling screen problem
Posted: Fri Mar 28, 2014 3:10 pm
by apprentice12
Hi all,
As you can see i have tried to copy and paste the following code
on preOpenStack
if the environment is "mobile" then
set the fullscreenmode of me to "exactFit"
end if
end preOpenStack
The problem is that the livecode doesn't mark fullscreenmode in blue colors as it should be and auto scaling doesn't work.
Only if i type it like this fullscreen mode . (with a gap between them ) it marks it with blue colors
Any ideas what is wrong ?
Re: code for scaling screen problem
Posted: Fri Mar 28, 2014 3:23 pm
by LCNeil
Hi Apprentice12,
What version of LiveCode are you using and what operating system are you using?
Kind Regards,
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
——
Re: code for scaling screen problem
Posted: Fri Mar 28, 2014 3:29 pm
by apprentice12
LiveCode Community 6.6 and windows 8.1
Re: code for scaling screen problem
Posted: Fri Mar 28, 2014 3:40 pm
by LCNeil
Hi Apprentice12,
This is behaviour you would expect if you were running a pre-6.5 release of LiveCode. If possible, could I get you to post a screenshot of the information that is available from "help"--->"about LiveCode"
This information will allow us to carry our further investigations
Kind Regards,
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
——
Re: code for scaling screen problem
Posted: Fri Mar 28, 2014 3:55 pm
by apprentice12
Hi ! Yes you were right.
The version that my app was build on was on 6.1.3 although i have updated to 6.6 version.
I thought that my app was also updated automatically .
Can i migrate it somehow to 6.6 ?
Opening it with 6.6 version and saving it doesn't help. It says 6.1.3 version again.
Re: code for scaling screen problem
Posted: Fri Mar 28, 2014 4:03 pm
by LCNeil
Hi Apprentice12,
A LiveCode stack will build to whatever version you open it with. It looks like your file associations are linked to LiveCode 6.1.3 and this could explain why this version is loading instead of LiveCode 6.6.
I would recommend removing this version, along with any other versions and trying to open your stack again.
Another option is to open LiveCode 6.6. directly and then use "File"---->Open" to load your stack.
I hope this gives you some leads.
Kind Regards,
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
——