first steps in iOS, native scroll a datagrid
Alan Stenhouse
alanstenhouse at hotmail.com
Wed Jun 5 10:11:21 EDT 2013
Hi Klaus
that should work as you've got it.
However, you have an error in the following line:
put the width of grp "Datafgrid 1" into tWidth
it should be grp "Datagrid 1" -- i.e. no "f" in the name
That may explain why your scroller isn't quite working as you expect.
Another thing to do in iOS for debugging - use some "put" statements which will output the statement to the /var/log/system.log file, when using the simulator.
HTH, good luck!
cheers
Alan
--
Alan Stenhouse
alanstenhouse at hotmail.com
Check out our apps on the App Store:
BeatSpeak - the multilingual talking metronome;
EV-Point - Find your nearest Electric Vehicle Recharge Station.
On 05/06/2013, at 3:28 PM, use-livecode-request at lists.runrev.com wrote:
> on scrollerDidScroll OffsetX, OffsetY
> lock screen
>
> ## Need only VScroll
> ## set the dghScroll of grp "DataGrid 1" to OffsetX
> set the dgvScroll of grp "DataGrid 1" to OffsetY
> ##set the Scroll of grp "DataGrid 1" to OffsetY
> unlock screen
> end scrollerDidScroll
More information about the use-livecode
mailing list