Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Finding nRowsScrolled
I have created a form with a container that will hold a bitmap of a Map. The map is 550wx1000h pixils in size. In order to see the whole map I required a scrollbar on the form.
I want to have the ability to plot an object on the form by right clicking on the form. The left and top positions of the object are stored in appropriate fields along with the map name. When the user next views the map the object shows the location of the property (property in this context means real property like in land).
There is no problem with what I am attempting to do unless I use the scroll bar to to move to the lower portion of the map. What is required is mrow('',3)+(the number of pixils the scroll bar has moved down). In other words I need to find the relative position of the top of the container after scrolling down.
Does anyone have any ideas?
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