Help whit grid
Posted: Wed May 05, 2010 6:32 pm
I use a grid control for display some information
control is fed with data from a table and can be variable
between every operation I empty the grid
but on some occasions is fine and sometimes not
remain 1 o 2 lines
i use next code to empty
mconst:=conspag.Grid_1.ItemCount
for t=1 to mconst
conspag.Grid_1.DeleteItem(t)
next
sorry for my bad english
control is fed with data from a table and can be variable
between every operation I empty the grid
but on some occasions is fine and sometimes not
remain 1 o 2 lines
i use next code to empty
mconst:=conspag.Grid_1.ItemCount
for t=1 to mconst
conspag.Grid_1.DeleteItem(t)
next
sorry for my bad english