Find Column Index by Name

Thank you Bruno - Using a AdvColumnGrid then I could do something like

MyColIndex := Grid.ColumnByName('ColName').Index;

Does it matter if Columns are hidden or if their Size is 0?