Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect grid scrolled
Message
From
26/07/2004 11:10:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Detect grid scrolled
Miscellaneous
Thread ID:
00927931
Message ID:
00927931
Views:
58
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)
Next
Reply
Map
View

Click here to load this message in the networking platform