Conflict between iPad gestures and mouse actions
Posted: Fri May 13, 2011 5:12 pm
I am currently developing my first application for an iPad based on materials I have previously used in alternative software.
I have utilised the code from the "Simple Stock Control" example (putting it into the stack script) which works very well to move forwards and backwards from page to page using the "swipe gesture" in my application. However, on some of my pages I have "drag and drop" activities where children have to move words to match particular photographs (and if they put them in the correct place they "stick" there.) These, also, worked well. However, now I have downloaded the whole code to an iPad my attempt to move the words to the appropriate photographs results in moving to the next or previous card before I can complete the activity! How can I inhibit the left and right gestures so that I can complete the "drag and drop" activities - or is there a major gap in my understanding of LiveCode. (This is extremely likely - although I am impressed with the software that has let me get as far as I have in 3 weeks!!)
Many thanks for your advice.
Best wishes
Richard
I have utilised the code from the "Simple Stock Control" example (putting it into the stack script) which works very well to move forwards and backwards from page to page using the "swipe gesture" in my application. However, on some of my pages I have "drag and drop" activities where children have to move words to match particular photographs (and if they put them in the correct place they "stick" there.) These, also, worked well. However, now I have downloaded the whole code to an iPad my attempt to move the words to the appropriate photographs results in moving to the next or previous card before I can complete the activity! How can I inhibit the left and right gestures so that I can complete the "drag and drop" activities - or is there a major gap in my understanding of LiveCode. (This is extremely likely - although I am impressed with the software that has let me get as far as I have in 3 weeks!!)
Many thanks for your advice.
Best wishes
Richard