Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG? Grid and MouseWheel event
Message
From
07/07/2005 01:48:24
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01029609
Message ID:
01029838
Views:
19
Hi
Thanks for your reply

Strange, the result is the same with setting focus.
I wonder if is something about video drivers.

>Dorin,
>
>I don't believe this is a VFP bug per se. In your sample form I only see one brief flicker when clicking into the frontmost grid to give it focus so that it heeds the mousewheel rolls. Before clicking the grid no amount of mousewheeling over grid2 or over the space occupied by grid1 causes any flicker or grid scrolling for me.
>
>I believe that the issue here is your "non-visible" grid has focus and it's behind the other grid. If you add this line I see no flicker of the undergrid at all:
>
>
>   PROCEDURE Init
>      this.grid1.RecordSource = "test1"
>      this.grid1.Refresh
>      this.grid2.RecordSource = "test2"
>      this.grid2.Refresh
>      this.grid2.Setfocus() && put focus onto the visible grid
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform