Hi All,
Having a very odd issue with a grid I use for navigation. I recently came out of "Developer Retirement" and haven't worked in VFP in around 10 years. Some of it has come back quickly, but other parts are a bit more sluggish, as I try to work out the best way to troubleshoot things.
Anyway, here is my issue. On one form I have 4 grids which basically show child records from other tables, and allow you to navigate to the record (and takes you to the detail tab for that table) when you double click on them (a simple ThisForm.Basepageframe1.ActivePage = <number> in the double click method).
The problem is, one of the grids does not allow me to click items within it. There are 3 records visible, but when I put the mouse over them to click the record, the record pointer doesn't move, and the grid doesn't update. Double click will take me to the tab (as the code above), but only on the first record, where I can then navigate them using next/previous buttons on the screen. Of the 4 grids on the main parent form, only this one has this behavior. Now, the one difference of this data vs the others, this is data from a relationship with a child already (so a grandchild). I can't figure out why that would make a difference, but the other 3 tables/grids are all from direct relationships with the parent.
Any idea why I can't select records in the grid that is the "grandchild" grid?
P.S. I even rebuilt the grid using one of the "working" ones so it wasn't some strange enable/disable or Focus issue, the result was exactly the same, which lead me to think that it's something to do with this grandchild relationship...
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
Having a very odd issue with a grid I use for navigation. I recently came out of "Developer Retirement" and haven't worked in VFP in around 10 years. Some of it has come back quickly, but other parts are a bit more sluggish, as I try to work out the best way to troubleshoot things.
Anyway, here is my issue. On one form I have 4 grids which basically show child records from other tables, and allow you to navigate to the record (and takes you to the detail tab for that table) when you double click on them (a simple ThisForm.Basepageframe1.ActivePage = <number> in the double click method).
The problem is, one of the grids does not allow me to click items within it. There are 3 records visible, but when I put the mouse over them to click the record, the record pointer doesn't move, and the grid doesn't update. Double click will take me to the tab (as the code above), but only on the first record, where I can then navigate them using next/previous buttons on the screen. Of the 4 grids on the main parent form, only this one has this behavior. Now, the one difference of this data vs the others, this is data from a relationship with a child already (so a grandchild). I can't figure out why that would make a difference, but the other 3 tables/grids are all from direct relationships with the parent.
Any idea why I can't select records in the grid that is the "grandchild" grid?
P.S. I even rebuilt the grid using one of the "working" ones so it wasn't some strange enable/disable or Focus issue, the result was exactly the same, which lead me to think that it's something to do with this grandchild relationship...
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."