Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Touchscreen
Message
From
20/01/2014 20:13:22
 
 
To
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:
01592201
Views:
126
Good? I'm brilliant! Just kidding :)

My challenge today was to let the user move to a part of a very wide chart. The chart is simply too wide to display entirely. So, I first created a form with a pageframe with one page. In that page I put a container. In that container I put the chart. Beneath the container, but inside the page I put a slider. With the slider the user can horizontally manipulate the chart. Actually, it sets the Left-property to a minus value. The slider is big enough for fingers.

>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??
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform