>In VFP 6.0, if I have an object reference to a grid column, is there any property that can tell me which column I have? If the columns are movable, the ColumnOrder property is not useful (since it gives current position which changes when the user moves the column). I could use the column name, if necessary, but this solution is not ideal because it imposes a requirement on the naming of columns.
> Thanks, Chaim
Do you mean the third visible column, or the third absolute column? Either way you could tackle this by adding an array property to your grid and populating it at init with two dimensions: one with column name, and one with column order. After this, whenever you have a column name, you can look up its original order in your array.
Erik Moore
Clientelligence