Hi!
See sample commands below.
>how can i remove a GRID1 in THISFORM when running program ??
thisform.Grid1.Visible = .F.
thisform.RemoveObject("Grid1")
>
>and how can i crate a GRID2 in THISFORM when running program ??
thisform.AddObject("Grid2","MyGridClass")
thisform.Grid2.Visible = .T.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.