View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005114 | JEDI VCL | 00 JVCL Components | public | 2010-01-15 20:36 | 2011-06-10 16:09 |
| Reporter | Cyrus | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | Daily / GIT | ||||
| Target Version | 3.40 | Fixed in Version | 3.40 | ||
| Summary | 0005114: JvStringGrid component raises EAccessviolation when trying to use ActivateCell method. | ||||
| Description | Delphi 7.0. --- procedure TJvStringGrid.GMActivateCell(var Msg: TGMActivateCell); begin Col := Msg.Column; Row := Msg.Row; EditorMode := True; InplaceEditor.SelectAll; end; When this method is called, InplaceEditor is nil so that is why this error shows up. Attached fix for JvStringGrid.pas revision 12461. | ||||
| Tags | Delphi 7.0 | ||||
|
2010-01-15 20:36
|
JvStringGrid.pas.patch (354 bytes)
--- JvStringGrid.pas Fri Jan 08 06:09:12 2010 +++ JvStringGrid.pas Fri Jan 15 19:37:28 2010 @@ -957,7 +957,8 @@ Col := Msg.Column; Row := Msg.Row; EditorMode := True; - InplaceEditor.SelectAll; + If Assigned(InplaceEditor) Then + InplaceEditor.SelectAll; end; procedure TJvStringGrid.InvalidateCell(AColumn, ARow: Integer); |
|
|
Thanks, this is now fixed in SVN |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-01-15 20:36 | Cyrus | New Issue | |
| 2010-01-15 20:36 | Cyrus | File Added: JvStringGrid.pas.patch | |
| 2010-01-15 20:37 | Cyrus | Tag Attached: Delphi 7.0 | |
| 2010-03-08 15:22 | obones | Note Added: 0017237 | |
| 2010-03-08 15:22 | obones | Status | new => resolved |
| 2010-03-08 15:22 | obones | Resolution | open => fixed |
| 2010-03-08 15:22 | obones | Fixed in Version | => Daily / SVN |
| 2010-03-08 15:22 | obones | Target Version | => 3.40 - not yet released |
| 2011-06-10 16:09 | obones | Fixed in Version | Daily / SVN => 3.40 |