General information
Title:
Problems with grids
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only