Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing object scroll to form scrollbars
Message
De
14/12/2007 03:30:46
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
14/12/2007 02:20:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01275505
Message ID:
01275783
Vues:
40
This message has been marked as the solution to the initial question of the thread.
Hi Srdjan,

Create a Method of the form like "_MouseWheel"

Bound all Mousewheel events via eventbinding (You might iterate throug .CONTROLS) to this Method

The Method must recieve the Parameters of the Mousewheel Event(s)


Now you need the calculate the direction and use .SETVIEWPORT() to place the viewport


Agnes
>>>Dear All,
>>>
>>>I use form with scrollbars. Is it possible to force mouse wheel scrolling performed on top of let say container or large shape, to actually do vertical scrolling of the form like it was done directly on the form body
>>>or vertical scrollbar itself.
>>>
>>
>>Seems to me you could bind the MouseWheel event of each control to something at the form level.
>
>
>Hi Tamar,
>
>Question is to what ...
>
>If I could force form to scroll down somehow, then I could call such functionality from each object MouseWheel.
>
>So to rephrase question ;
>
>How to force VFP form to scroll down (or up)
>
>TIA
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform