>I am struggling with a grid and trying to understand the ActiveRow and RelativeRow properties. I think I know what their value should be, but I want to verify with a WATCH variable in debugger. If I put:
>
> ThisForm.pgfTest.Page1.grdTest.ActiveRow
>
>in as a WATCH varaible, it always displays zero? If I add a WATCH variable for a textbox from the same form and tab using:
>
> ThisForm.pgsTest.Page1.txtText.Text
>
>I can see it's value. So I don't think I am referencing the property wrong.
>
>So if I mouse down in the grid, shouldn't the ActiveRow property be updated in the WATCH variable?
>
>Any help would be greatly appreciated.
>
>Kind Regards,
>
>Mat Kennedy
Activerow unfortunately works when grid has focus. To watch it you can put this in afterrowcolchange :
wait window nowait str(this.activerow)+chr(13)+str(this.activecolumn)
Or make the debugger visible when grid has focus.
Cetin