Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid class replacing list
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01402017
Message ID:
01402022
Vues:
80
>I am working on a touch screen application. The problem with using the native listbox, is the scroll bar/slider on the right is too small for my users fingers. Similarly the slider on a grid is too small so what I've done is create a class like this.
>In a container on the left hand side is a grid, with the rowsource bbeing the list, on the right hand side, I have an up image at the top, a bottom image at the bottom, a grey shape in between them and a button to represent the slider of the list/ grid. This is so that I can scale this to the size required for people's fingers.
>
>I have it working based on the position of the button, in the vertical direction, will show the record closest to that position. However the behaivour of a grid/list scroll bar/slider is that as you move the slider you see it navigate through the list. I have code in the MouseMove to check and calculate the record to display and I call a grid refresh to do it. The problem is you only see the record move when you release the button from the drag.
>
>How do I get a similar scrolling like you get when you use the native controls scrool bar/slider.
>
>Any ideas?
>Mike

I'm not sure if this is of any help, but check message #1276073
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform