Subject Re: [IBO] IB_Grid and Enhanced controls
Author Geoff Worboys
Hi Dany,

> Since 4.5Ai I have a strange problem. If a grid does not
> currently have focus and I click on the grid the current
> row (correct column) gets the editor.

Just to get this straight...

The problem is that, with Enh controls on a grid, the first
click only causes the grid to gain focus on its current row
and column (regardless of where you click). It takes a
second click to actually move focus to the cell where the
click occured.

Previously a single click would not only focus the grid,
but would also move the grid focus to the cell that was

If this is correct I can see the problem occuring in my own
applications (although I had not noticed it until now because
I dont do much editing in grids).

> I have traced so far as to TIB_CustomGrid.AcquireFocus
> where the return value becomes true for IB_Edits and false
> for IB_EditEnh's. Beyond that I cannot seem to entangle
> whats happening.

Thanks for this hint. I will take a look and see if I can
discover the problem.

Geoff Worboys
Telesis Computing