Hello,
I'm back working on VFP, I missed you dear people (and a little VFP too).
I just need to intercept the event when the user creates a new row in a grid, it can happen using the down arrow key, by mouse click and ways I don't think of right now.
I need to do this in order to automatically set some columns on a new row creation (so the user doesn't have to).
I tried with the Grid's AfterRowColChange event, it triggers at every cell change, but I'm not able to distinguish between rows (new, existing) because the only parameter that this event receives is the index of the cell (not the column or row) where the user moved. I wanted to keep track of the new/old rows myself in a cursor, but I'm not able to achieve this with the AfterRowColChange event, I did a few tests, since it triggers for columns and rows change and it only gives me the index of the cell (not of the row, that is what I need).
Can you please point me in the right direction?
Very thanks.
I'm back working on VFP, I missed you dear people (and a little VFP too).
I just need to intercept the event when the user creates a new row in a grid, it can happen using the down arrow key, by mouse click and ways I don't think of right now.
I need to do this in order to automatically set some columns on a new row creation (so the user doesn't have to).
I tried with the Grid's AfterRowColChange event, it triggers at every cell change, but I'm not able to distinguish between rows (new, existing) because the only parameter that this event receives is the index of the cell (not the column or row) where the user moved. I wanted to keep track of the new/old rows myself in a cursor, but I'm not able to achieve this with the AfterRowColChange event, I did a few tests, since it triggers for columns and rows change and it only gives me the index of the cell (not of the row, that is what I need).
Can you please point me in the right direction?
Very thanks.