Hi Larry ---
The code created by the class browser is not really optimal. In some cases, it can't be run at all without major mods. Also, is it possible that you had some customized classes being used in the grid, like textboxes and the like, where the class definition is not being loaded or created? That could explain the Sparse problem.
>I developed a grid (in the form designer) with certain features / properties that I need. It runs fine, everything acts as it should...
>
>I used the class browser to extract the code into a .prg.
>
>The grid created with the .prg acts different! It's MUCH slower and I have to add Sparse=.F. to all columns to get 'real' data to show on all rows...
>
>What gives?
>
>Any help is MUCH appreciated!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05