Information générale
Titre:
Grid class replacing list
Versions des environnements
Network:
Windows 2003 Server
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement