Subject | Re: [IBO] IB_Grid and Enhanced controls |
---|---|
Author | Geoff Worboys |
Post date | 2005-01-18T00:09:17Z |
Hi Dany,
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
clicked.
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).
discover the problem.
--
Geoff Worboys
Telesis Computing
> Since 4.5Ai I have a strange problem. If a grid does notJust to get this straight...
> currently have focus and I click on the grid the current
> row (correct column) gets the editor.
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
clicked.
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.AcquireFocusThanks for this hint. I will take a look and see if I can
> where the return value becomes true for IB_Edits and false
> for IB_EditEnh's. Beyond that I cannot seem to entangle
> whats happening.
discover the problem.
--
Geoff Worboys
Telesis Computing