Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Touchscreen
Message
From
20/01/2014 17:47:58
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
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:
01592199
Views:
105
Likes (1)
No, these controls depend our other internal libraries. but you're a good developer. Really easy things...
Create a container for on screen keyboard, do not put buttons, just put key pictures and catch click event so your textbox controls don't loose their focus...
Others so easy too...

I'll look if on screen keyboard at a independent class I'll share it...

>Good advices. Are your libraries publicly available?
>
>
>>I wrote a TouchPOS and Touch RestoranPOS and both of these applications work very well (thousands of touch terminals with hundreds of customers). Don't use mousewheel or rightclick and popup menus with touch screens. My experience:
>>
>>1-Create big push buttons.
>>2-All of menus should be created with push buttons too.
>>3-Create your own onscreen keyboard, don't use Microsoft's one.
>>4-Do not use combobox and native spinner control. Create your own spinner control with big push buttons + textboxes.
>>5-Do not use date type and numeric type values for textbox controls. Use string and convert strings date-string-date, numbers num-string-num.
>>
>>
>>
>>>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??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform