Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with grids
Message
From
27/09/2001 08:17:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Problems with grids
Miscellaneous
Thread ID:
00561359
Message ID:
00561359
Views:
59
We have just started using VFP 7.0, and have stumbled onto a really strange situation:

1. I built a form that included a grid with 10 columns. In the DblClick method of the Text1 control in each column I put code to call the DblClick method for the grid itself (THIS.Parent.Parent.DblClick). I tested the form, and the grid works just fine.

2. I created a new form, copied and pasted the grid from the first form onto the new form, and tested the new form. When I tried to use the DblClick in Column #1 it failed. I checked the grid, and the code is still in the DblClick method.

3. Upon further research I discovered that the grid on the second form now has a Column0, which I have never seen before. I checked in Design Mode, and the columns were named correctly, i.e. Column1 through Column10. Thinking the control itself was bad, I deleted it and tried to put a new grid on the form. After testing, I discoverd that this new grid also had a Column0. So it appears that there is something on this new form that is causing the grid to change.

4. Can anyone shed some light on this?

Bryan A. Jackson
for Rudy Nieves
Next
Reply
Map
View

Click here to load this message in the networking platform