ntony
asked on
TStringGrid
i have a StringGrid and i want in runtime to delete a column! (or to move it to the end and then to do coulcount:=colcount-1 => deleted)
how can i do it?
how can i do it?
ASKER
error
StringGrid.Columns[i] // undeclared identifier 'columns'
StringGrid.Columns[i] // undeclared identifier 'columns'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tanks it's working
glad to helped you :-)
good luck again
meikl ;-)
good luck again
meikl ;-)
stirngrid1.columns[i].assi
stringgrid1.colcount := stringgrid1.colcount-1;
delindex is the zerobased index of the column which is to delete
just from head (not tested, typos possible)
meikl ;-)