![]() |
|
#1
|
|||
|
|||
|
TCustomDBGrid descendants (VCL and VCLX) highlight the wrong row:
- Focus must be on a new row at the bottom of the grid - The row must not have been edited. - Click a previous row in the grid. - The new record disappears (expected). - Focus moves to the record directly above the row that was clicked. Steps to Reproduce: 1. Create new application (VCL or VCLX). 2. Add database components (VCLX components listed for example): TSQLConnection TSQLQuery TDataSetProvider TClientDataSet TDataSource 3. Link components, add database connection information, and add a query. 4. Add TDBGrid. 5. Link TDBGrid to TDataSource from step 2. 6. Set TClientDataSet Active property to True. 7. Run. 8. Move TDBGrid focus to last record (there must be at least 2). 9. Down arrow to begin a new row. 10. Click on the row above the new one. 11. Focus is not on the row that was clicked. |
|
#2
|
|||
|
|||
|
you're right. I didn't know about this "bug". The focus is put in the record above of which you click.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|