Page 1 of 1

Can't get fullscreenmode to work

Posted: Thu Mar 12, 2015 5:28 am
by bergsy
Hi, Though I have been using Livecode for about 18 months now, I feel this question is a newbie question so I have posted it here.

I am trying to use the resizing capability that has been available from 6.5. I have tried to do it with 6.6.2 and 7.0.3.

I have put the code below in a button:

on mouseUp
set the fullscreenmode of this stack to "exactFit"
end mouseUp

I have put the following code in the stack:
on preOpenStack

set the fullscreenmode of this stack to "exactFit"

end preOpenStack

When I resize the stack, the objects don't resize. I have attached the livecode file (zipped).

I was thinking if I make it really simple then it should work, but alas it does not.

Any help appreciated

Cheers

bergsy

Re: Can't get fullscreenmode to work

Posted: Thu Mar 12, 2015 8:29 am
by paul_gr
On mobile, fullscreen is automatic.
On desktop, you will have to set the fullscreen to true first.

try this

on mouseUp
set the fullscreen of stack to true
set the fullscreenmode of this stack to "exactFit"
end mouseUp

Paul

Re: Can't get fullscreenmode to work

Posted: Fri Mar 13, 2015 7:25 am
by bergsy
Brilliant Paul - works like a bought one

Cheers

Greg