Quoting Chris Wallis <[EMAIL PROTECTED]>:
> Patrick
>
> How do you display the column when it is not selected with code. I cannot
> see a display or show method that could do this. Thought I would put the
> code in the grids OnColEnter event so when user changed columns/cells then
> it would check which column had focus and redraw the lookup field column if
> it did not.
>
The property is the SelectedIndex of the DBGrid. We use this in our app so that
the focus moves to the first column when the Add Record button is clicked. For
what you are doing this may not work since you seem to want to display the
column even when it doesn't have the focus.
snip
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz