Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Touchscreen
Message
From
19/01/2014 16:06:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Touchscreen
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01592151
Message ID:
01592151
Views:
189
Some of the objects react very well to touches on the touchscreen. However, other objects don't. Also, mouse events don't handle touches very well.

An example: I use MouseWheel() and DoScroll() to set the viewport, but it does not react at all to any of my touches.

Mousewheel()
LPARAMETERS nDirection, nShift, nXCoord, nYCoord
thisform.doscroll( nDirection )
nodefault
DoScroll()
LPARAMETERS nDirection
with thisform
	.setviewport( 0, max( .nOrgVPTop, .viewporttop + iif( m.nDirection < 0, 50, -50 ) ) )
	nodefault
endwith
I assume that touch support requires a VFP10. How do you handle touch??
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Next
Reply
Map
View

Click here to load this message in the networking platform