Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where did the event go??
Message
De
27/05/1999 15:58:17
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Where did the event go??
Divers
Thread ID:
00223674
Message ID:
00223674
Vues:
53
I have a single column grid on a form set to invisible. It is populated by an SQL statement. When a certain field gets focus the grid is made visible and becomes a scrolling lookup as the user types in the field. In the lost focus of the field 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. Using a combination of amouseobj,gridhittest, and activate cell I can stuff the value of the sql field into the form field if the mouse is positioned on a record in the grid when the form field loses focus. 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. Can anyone tell me how to track this event down?
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Répondre
Fil
Voir

Click here to load this message in the networking platform