Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
 
 
To
04/04/2010 09:14:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01458622
Message ID:
01458624
Views:
66
>I have a grid on a form with only one column.
>In the dataenvironment of the form I open a table MyTable.
>The RecordSource property of the grid is = MyTable
>The ControlSource of column1 of the grid is = MyTable.MyField
>I can see the table in the grid ok.
>The problem is that I put code on the DblClick method of MyGrid.Column1.Text1.DblClick(), and it doesn´t even enter the method.
>In the method there is a SET STEP ON to see that I enter the method with the double click, but that doesn´t happen. I can't execute the code in the method.
>Why is that so?
>This is something that I've done hundred of times, so simple that it´s imposible to miss, and yet I managed to missed it. Any idea?

What is the AllowCellSelection property set to? If it's .F., then you need to put code in the DblClick of the grid and not the textbox. Also, is it possible that you accidentally put something in the Click event of the textbox?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform