>Hi Justok,
> Sorry, I don't understand your suggestion...
> Regards, Chaim
You asked:
is there any property that can tell me which column I have?
Ans:
thisform.grid1.Columns[ix]the .Columns[] array will give all the column in the grid to show.
you can check the .Columns[ix].Controlsource to see if the column is needed!!
but you may not know how many columns in grid, so the
.ColumnCountwill give you the number of columns in grid!
Do you understand now!? o_0'
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.