Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - Column1
Message
De
09/09/1997 12:26:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00049041
Message ID:
00049166
Vues:
57
>>>I am having problems with the DblClick, Click, Keypress events in my grid for Column1-Text1. They won't fire. Is this a bug, and if so, are there any workarounds?
>>
>>A grid's column's control's methods won't fire unless there is a record in the recordsource. If there are no records, the row doesn't really exist, and the control doesn't either. The code should fire if the column you click on has a record behind it.
>>
>>Erik
>
>There are records in the grid and in the column. But when I DblClick, it only highlights the cell and ignores my code.

It's hard to help without knowing the code you are trying to execute. Have you tried commenting everything out and only putting in a test messagebox to see if the code is firing? Better yet, open the debugger and trace events to see if the event ever gets fired. It must be a problem with code or possibly a grid setting somewhere, because I just tested and have no problem with it. Let us know what you find.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform