Hi.
I commented out the lines restricting to mobil. The single field on cd 1 is not a scrolling field, so I made it one. The variable "sScrolling" is never "false", so the handler "touchTable" never fires. I changed it to:
Code: Select all
on mouseFakeUp
-- if the environment is not "mobile" then exit mouseFakeUp
if _sScrolling is true
then
put false into _sScrolling
-- else
send "touchTable" to field "chooseTable" of group "scrollerGroup" in 0 sec
end if
set the layerMode of me to "Static"
end mouseFakeUp
I also commented out this:
Code: Select all
-- set the label of button "machinePicker" of card "mainCard" to the text of item tCell of line tLine of me
Because there is no button "machinePicker" anywhere. If there was, before the change to the "if/then" construction, an error would have been thrown when LC could not find that button.
So at least now a click in the field sends you to the next card.
But I am only fooling around here. It seems that what you want to do could instead be implemented in just a handful of lines of code in a single handler. But perhaps you are preparing for much additional functionality, and that is fine.
So can you give a rundown of the major gadgets you want from this app? And fix the things above and write back.
Craig