Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid (LocatorGrid) scrollbars fail
Message
From
13/09/2019 08:58:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/09/2019 16:51:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01670815
Message ID:
01670823
Views:
98
>I'm using the LocatorGrid class from Cetin's FoxyClasses as the basis for a generic picklist. I've subclassed it and done a lot of customization (much of it centered around defining the grid contents). Apparently, I've done something that's preventing the scrollbars from working.
>
>To be as clear as I can:
>
>- I've tested the LocatorGrid examples that come with FoxyClasses and the scrollbars work there.
>
>- I have a form that contains a lot of code, but no controls. The Init method adds an instance of the grid subclass, passing it a bunch of parameters to indicate what to show in the grid. (The grid gets sized to fill the form so it looks a Browse.)
>
>- Both horizontal and vertical scrollbars are visible (so I know the .Scrollbars property is set right), and they are visually enabling/disabling as expected.
>
>- However, the scrollbars are not usable in any way. That is, none of the following work:
> - Clicking on an arrow at either end;
> - Clicking on the background of the scrollbar;
> - Clicking-and-dragging the thumb.
>
> In all cases, there is no visual reaction to the mouse. With Event Tracking, I can see that MouseMove, MouseUp and MouseDown are firing as expected.
>
>Obviously, without my providing a ton of code, no one can tell me the specific problem. What I'm looking for is anything anyone knows of that can cause scrollbars to behave this way.
>
>Tamar

Tamar,
Would you mind sending me as a zip? In case you can (cetinbasoz at gmail).
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform