code for scaling screen problem

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
apprentice12
Posts: 8
Joined: Fri Mar 28, 2014 2:47 pm

code for scaling screen problem

Post by apprentice12 » Fri Mar 28, 2014 3:10 pm

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 ?
Attachments
742.jpg
the example that i saw
741.jpg
The error that i am facing

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: code for scaling screen problem

Post by LCNeil » Fri Mar 28, 2014 3:23 pm

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
——

apprentice12
Posts: 8
Joined: Fri Mar 28, 2014 2:47 pm

Re: code for scaling screen problem

Post by apprentice12 » Fri Mar 28, 2014 3:29 pm

LiveCode Community 6.6 and windows 8.1

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: code for scaling screen problem

Post by LCNeil » Fri Mar 28, 2014 3:40 pm

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
——

apprentice12
Posts: 8
Joined: Fri Mar 28, 2014 2:47 pm

Re: code for scaling screen problem

Post by apprentice12 » Fri Mar 28, 2014 3:55 pm

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.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: code for scaling screen problem

Post by LCNeil » Fri Mar 28, 2014 4:03 pm

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
——

Post Reply