type
Tf_dbgrid=Class(TDBGrid);
Procedure TForm1.DBGrid1ColEnter(Sender:Tobject) ;
Begin
Label1.Caption:=Format('Column: %D ',[Tf_dbgrid(DBGrid1).Col ] )
End ;
Procedure TForm1.DataSource1DataChange(Sender:Tobject;Field:TField) ;
Begin
DbGrid1ColEnter(Sender) ;
End ;