Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Touchscreen
Message
From
21/01/2014 09:20:20
 
 
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:
01592217
Views:
115
>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.

I did something similar for touch, but I use only the MouseMove event, with a property on MouseDown (so the method realizes you want to move the control with the mouse) and then change the left property depending on the offset of the mouse position. That works very good with touch.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform