Hi all,
I am looking for a little help on the IOS Scroller Control.
I currently have a STACK which is utilizing a Fld which houses multiple lines of data (number varies)..
I have this set up with a Vertical Scroll bar and have enabled List behavior as I have multiple handlers which are actioned based upon the line that is pressed (click line)
I am at the stage of wanting to convert this into an IOS Control to get rid if the scroll bar but am not having much luck so far.
I would like to keep this fld and just make it hidden and make the IOS control sit over it and pass click line information etc.
does anyone have any example scripts of something like this?
IOS Scroller
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 281
- Joined: Sat Jun 04, 2011 5:41 pm
- Location: Switzerland
Re: IOS Scroller
Hi Nakia,
some time ago I had a similar problem and ...
... enclose you will find my solution. Probably is not the best but worked fine for me
Please note the stack initialization script, the card script and the control script ...
... if you find how to make better ... let me know
Guglielmo
P.S. : remember, when you add lines, that you have to resize the scrolling region
some time ago I had a similar problem and ...
... enclose you will find my solution. Probably is not the best but worked fine for me
Please note the stack initialization script, the card script and the control script ...
... if you find how to make better ... let me know
Guglielmo
P.S. : remember, when you add lines, that you have to resize the scrolling region
- Attachments
-
- iOS_ScrollField.livecode.zip
- (1.99 KiB) Downloaded 281 times
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: IOS Scroller
Nakia...
Attached a stack that contains a liveCode listField that uses an IOS scroller...
be well
Dixie
Attached a stack that contains a liveCode listField that uses an IOS scroller...
be well
Dixie
- Attachments
-
- LCScrolller.livecode.zip
- (2.64 KiB) Downloaded 349 times
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: IOS Scroller
Just to clarify, the scroller control is a transparent overlay that manages the scrolling of your field, but it does not replace the field. Think of it as a pane of glass stuck to your field.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: IOS Scroller
Thanks for everyone help.
Jacque, I think the problem I was having was not understanding
How the scroller worked..
I spent a bit of time going through it last night and was
Able to get it to work..
Thanks again
Jacque, I think the problem I was having was not understanding
How the scroller worked..
I spent a bit of time going through it last night and was
Able to get it to work..
Thanks again