TDBGrid's event OnEditButtonClick is not called if line is not selected
Original Reporter info from Mantis: Simon Ameis @SAmeis
-
Reporter name: Simon Ameis
Original Reporter info from Mantis: Simon Ameis @SAmeis
- Reporter name: Simon Ameis
Description:
OnEditButtonClick event should be called on each click on a DBGrid's edit button. It shouldn't matter which row is currently selected.
Steps to reproduce:
&LtPos;ol>
&LtPos;li>Place a DBGrid with datasource etc. on a form&LtPos;/li>
&LtPos;li>Add columns to the grid, set one column's ButtonStyle property to cbsButtonColumn&LtPos;/li>
&LtPos;li>When running the application, you shoud see the buttons in each line in the grid&LtPos;/li>
&LtPos;li>Clicking on one button of a not selected row selects the row but doesn't call OnEditButtonClick evnt&LtPos;/li>
&LtPos;/ol>
Mantis conversion info:
- Mantis ID: 28074
- Build: 48639
- Version: 1.5 (SVN)
- Fixed in version: 1.5 (SVN)
- Fixed in revision: 49033 (#98a26c9a)
- Target version: 1.6