WinCE: Grid's selection is not changed on very first click
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When you have a Grid (e. g. a StringGrid) on a form and click on it, the MouseDown/Up-Events are fired, but the grid's selection is not changed.
That's because FGCache.HotGridZone (which is used in MouseDown) is not set to the correct value. The value is set in the grids MouseMove, which is called when the mouse is released or really moved (note, that I talk about a touchscreen device here).
Additional information:
Attached patch is a quick'n'dirty fix which works for me in 0.9.26.3. In trunk this should be fixed more cleanly (if it's not already fixed there, of course) ^^
To test the issue you can put a StringGrid on a Form and check whether the focused cell changes on the first click.
Mantis conversion info:
- Mantis ID: 14739
- Version: 0.9.26.3 (SVN)
- Monitored by: » zaher (Zaher Dirkey), » ertank (ertank)