I followed this tutorial
https://sites.google.com/a/pgcps.org/li ... g-programs
the only two changes i made was to make the name of the grc for drawing a global variable so that i could setup multiple drawing graphics. The 2nd was to set a border around the drawing area and start each handler with "...is within..." to see if they are withing the drawing area. Everything seems to work well when i use a mouse. but when i use a touch device with a stylus its like it doesn't recognise the first mousedown or something making things really messy with a stylus.
Note: i used both a microsoft surface with stylus and an acer touch screen with stylus and same result
----SOLUTION BELOW. HOPE THIS HELPS PEOPLE----------
mouseDown on tablet (SOLVED)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
mouseDown on tablet (SOLVED)
Last edited by Da_Elf on Wed Mar 04, 2015 2:19 am, edited 1 time in total.
Re: mouseDown on tablet
I've tried these apps as well
http://forums.livecode.com/viewtopic.ph ... 651#p72367
Anyone else tried anything like this with a stylus? Where am i going wrong. The apps work well with a mouse but i cant get a single one to work with a stylus since its not registering short lines drawn quickly like crossing a T
http://forums.livecode.com/viewtopic.ph ... 651#p72367
Anyone else tried anything like this with a stylus? Where am i going wrong. The apps work well with a mouse but i cant get a single one to work with a stylus since its not registering short lines drawn quickly like crossing a T
Re: mouseDown on tablet
Probably you should use the touchmove message on Android.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: mouseDown on tablet
this is for windows not for android. It has the same effect on both microsoft surface and hp touch screen with stylus
will look into touchmove to see if it works with any tablet.
nope.this isnt recognised by windows8 for surface or other touch screen computers. Im guessing its a way windows handles touch and not how livecode handles it
will look into touchmove to see if it works with any tablet.
nope.this isnt recognised by windows8 for surface or other touch screen computers. Im guessing its a way windows handles touch and not how livecode handles it
SOLUTION
ok. that got me moving in the right direction Its actually nothing to do with livecode (which even though i can get frustrated when i cant figure stuff out i still love it....) it all has to do with all the flicking motions someone does with a pen when crossing T's and stuff like that. Windows has a shitty little option for pens called "flicks" which naturally is interpreting my flicking actions as windows commands and not as mouse down and move. I turned off flicks and voila. everything runs a lot smoother