Hi all,
I would like to make in my app a field that when i click on it, it moves the field to another location on the screen and opens the keyboard. I want the space around the field will be white (Transparent).
How can i do it?
Best reagrds,
Itay
Field Animation
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Field Animation
Hi Itay,
The easiest way to do this is to have two cards. One card with the default lay-out of your app and another card with the field at the top. The field on the first card would have its locktext set to true and contain the following script:
The second card would contain this script:
and you might want to add a button with
All very simple.
Kind regards,
Mark
The easiest way to do this is to have two cards. One card with the default lay-out of your app and another card with the field at the top. The field on the first card would have its locktext set to true and contain the following script:
Code: Select all
on mouseUp
lock screen for visual effect
go cd 2
unlock screen with visual effect dissolve
end mouseUp
Code: Select all
on keyboardDeactivated
go back
end keyboardDeactivated
on closeCard
put fld 1 into fld 1 of cd 1
end closeCard
Code: Select all
on mouseUp
go back
end mouseUp
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode