Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect grid scrolled
Message
De
26/07/2004 11:10:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Detect grid scrolled
Divers
Thread ID:
00927931
Message ID:
00927931
Vues:
57
I want to detect when the grid is scrolled (to adjust a TextBox underneath a certain column).

I thought Grid.Scrolled() should detect the scroll, but when I press right-arrow, or left-arrow, the corresponding method is not run; the Scrolled() event is only executed when I press the scrollbar. Is this a bug in VFP 6, or am I misunderstanding something? The help text explicitly includes options for left-arrow and right-arrow.

The workaround seems clear to me: additionally to Grid.Scrolled(), also use Grid.AfterRowColChange(). But I did have the impression, from help, that Grid.Scrolled() should be enough.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform