Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event, where did you go?
Message
 
 
To
01/06/1999 12:35:30
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00224986
Message ID:
00225196
Views:
22
Calvin,

When an object's .Visible becomes .f. it's no longer in the event loop. You may have to alter your sequence and reall let the grid get focus and set it to not visible when the grid loses focus.

>I have a single column grid set to invisible on a form. It is populated by an SQL statement. When a certain field on the form gets focus the grid is made visible (??scrolling lookups are much easier in grids than in listboxes??) and becomes a scrolling lookup as the user types in the field. In the lost focus of the field which caused the grid to become visible the grid is set to visible=.f. and thus it never receives focus. This all works fine. I need ,however, to allow the user to click on the grid to make a selection with the mouse. What I cannot seem to do is get a handle on a mouse click in the grid. This click does not seem to show up anywhere. (when the click occurs, the lost focus event for the field fires and sets the grid to visible=.f.) The grid never gets focus so no events fire in it and the form does not react to a mouse event inside the grid. If I turn event logging on it catchs the grid mousedown event, but any code in that event never fires. Can anyone tell me how to
>track this event down? Please......
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform