>Hi!
>
>I define a grid and saved as a classe, then i include this control to my form with addobject() in the activate event of my pageframe, but the grid lost all it´s properties colors and positions. Why this happen ?
>
>
>Thanks
Grids have habit to get rebuilt automatically when you change or set programmatically their recordsource. Probably, it's your case. In many situations you should reset grid properties after you change its recordsource.
Edward Pikman
Independent Consultant