>>Hey Cetin,
>>
>>Yup, it is longer, but it provides the ability to turn only certain columns in the active row to read only...I realize that was not the original question, which was dealing with the entire row, but I have been confronted with the need in the past to turn select columns to read only...especially with 5.0a where the activatecell method didn't work...glad they fixed it in 6.0 :)
>You're right Ken :)
That happens from time to time ;)
>BTW what's that "activatecell didn't work". I'm still working with 5.0a and might be missing something (grids still have minor bug(s) that not fixed in 6.0 too - but so powerfull control, I can live with them).
In 5.0a the method .grid.activatecell(row, col) don't work...which means you can't direct focus to a particular cell. In 6.0 it does...that's the first thing I checked after installing 6.0...and it really makes life simple if you have logic in the grid for data entry. Before I'd have to use something like the above to set enabled=.F. so the next grid column I wanted to take the user to would take foucus...not any more...yeehaa, less code to write.
And yeah...grids are an awesome tool...I wonder how I ever lived without them %-)