Hi All,
Is there a way by script to "make orignal size" with an image locked ?
Best
Jean-marc
How do "make orignal size" by script SOLVED
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
How do "make orignal size" by script SOLVED
Last edited by jmburnod on Wed Dec 10, 2014 8:54 am, edited 1 time in total.
https://alternatic.ch
Re: How do "make orignal size" by script
Hi Jean-Marc,
do you mean:
...
lock screen
set the width of img x to the formattedwidth of img x
set the height of img x to the formattedheight of img x
unlock screen
...
?
Best
Klaus
do you mean:
...
lock screen
set the width of img x to the formattedwidth of img x
set the height of img x to the formattedheight of img x
unlock screen
...
?
Best
Klaus
Re: How do "make orignal size" by script
Hi Klaus,
Yes. Of course
Thanks again
Yes. Of course

Thanks again
https://alternatic.ch
Re: How do "make orignal size" by script
jmburnod wrote:Hi Klaus,
Yes. Of course![]()
Thanks again

Re: How do "make orignal size" by script
Jean-Marc.
Locking the size and loc of any control only keep the user from changing it in run mode. By script, or even by hand in the inspector, those properties are open to modification.
Craig
Locking the size and loc of any control only keep the user from changing it in run mode. By script, or even by hand in the inspector, those properties are open to modification.
Craig