View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022493 | Lazarus | LCL | public | 2012-07-23 15:34 | 2020-12-02 13:16 |
Reporter | Markus Müller | Assigned To | Jesus Reyes | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1 (SVN) | ||||
Target Version | 1.2.0 | Fixed in Version | 1.1 (SVN) | ||
Summary | 0022493: TDBGrid using column ButtonStyle "cbsCheckboxColumn" | ||||
Description | If the column with ButtonStyle=cbsCheckboxColumn is the last column in the DBGrid then: 1) If this column is not visible, and I click on the right side from the TDGrid where is no column (white space) then the dataset is going into Edit Mode and a other selected column is be overwrite with 0 or 1. Please correct this very unfortunate mistake soon. 2) If the column is visible, and I click on the right side from the TDGrid where is no column (white space) then this column change the checkbox. I have change your demo project "dblookup" an you can see this mistake. I have add this lines into the project: procedure TForm1.Dbf1AfterOpen(DataSet: TDataSet); begin DBGrid1.Columns.Items[2].ButtonStyle := cbsCheckboxColumn; DBGrid1.Columns.Items[2].Index := 3; DBGrid1.Columns.Items[3].Visible := False; // Comment out this line for test 2) end; Thank you for help. | ||||
Additional Information | I have install this EXE: Lazarus-1.1-37965-fpc-2.6.0-20120719-win32.exe | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 39123 | ||||
LazTarget | 1.2 | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
2012-07-23 15:34
|
|
|
Fixed, please test. About point 2, is a grid's Lazarus feature that is controlled with grid property AllowOutboundEvents (public, available on dbgrid too starting on r39123), it's true by default as it's the Lazarus compatible behavior. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-23 15:34 | Markus Müller | New Issue | |
2012-07-23 15:34 | Markus Müller | File Added: dblookup.zip | |
2012-07-23 15:34 | Markus Müller | Widgetset | => Win32/Win64 |
2012-08-17 20:45 | Jesus Reyes | Status | new => assigned |
2012-08-17 20:45 | Jesus Reyes | Assigned To | => Jesus Reyes |
2012-10-18 04:55 | Jesus Reyes | Fixed in Revision | => 39123 |
2012-10-18 04:55 | Jesus Reyes | LazTarget | => 1.2 |
2012-10-18 04:55 | Jesus Reyes | Status | assigned => resolved |
2012-10-18 04:55 | Jesus Reyes | Fixed in Version | => 1.1 (SVN) |
2012-10-18 04:55 | Jesus Reyes | Resolution | open => fixed |
2012-10-18 04:55 | Jesus Reyes | Note Added: 0063256 | |
2012-10-18 04:55 | Jesus Reyes | Target Version | => 1.2.0 |
2020-12-02 13:16 | Markus Müller | Status | resolved => closed |