How can I allow the end user to enlarge a card or move a card on a touchscreen device?
Tom
What property allows user to enlarge/move objects
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: What property allows user to enlarge/move objects
I think that the practical way to do it would be to scroll a group that contains your controls...
Re: What property allows user to enlarge/move objects
Dixie, Thanks. What I was looking for was the pinch gesture; however I have tried the "scroll a group" approach as I think this is a good approach.Dixie wrote:I think that the practical way to do it would be to scroll a group that contains your controls...
I haven't been able to make it work yet.
I assume that the group size needs to be larger than the stack size.
My controls are label and small text entry fields to input things like price cost etc names addresses etc
It is a standalone app for android.
I downloaded an example file from a LC lesson called "Scrolling-Group.rev
I tested it on my phone and it works perfectly.
When I copy the scripts from the example to my test file .... no scrolling. I think there is a problem getting the size of my group to be larger than the window.
Ideas?
Thanks
Tom
Re: What property allows user to enlarge/move objects
Hi Tom,
Actually it's the groups content that scrolls not the group. You lock the size and position of the group to the size of your card and the group controls the scrolling action.
Simon
Actually it's the groups content that scrolls not the group. You lock the size and position of the group to the size of your card and the group controls the scrolling action.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: What property allows user to enlarge/move objects
I was able to figure this out. I used the LC lesson "How do I scroll a card that is taller or wider than the window? " The problem I had was that I didn't have an image that I was trying to scroll.
Trying to equate the input fields that I am using to the image example just wasn't working. The light went on when I realized I could import an image, place my other controls on the image, group them together and then follow the example in the lesson.
Works like a Champ. The image can be a real picture or just a plain background. I know there is probably a better way but this method works for me!
Thanks for the help.
Tom
Trying to equate the input fields that I am using to the image example just wasn't working. The light went on when I realized I could import an image, place my other controls on the image, group them together and then follow the example in the lesson.
Works like a Champ. The image can be a real picture or just a plain background. I know there is probably a better way but this method works for me!

Thanks for the help.
Tom