Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid - Column1
Message
From
09/09/1997 12:26:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00049041
Message ID:
00049166
Views:
52
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform