View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004605 | JEDI VCL | 00 JVCL Components | public | 2008-11-26 07:39 | 2008-11-26 08:50 |
| Reporter | cguser | Assigned To | AHUser | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.33 | ||||
| Target Version | Fixed in Version | 3.36 | |||
| Summary | 0004605: JvDBGrid [ and JvDBUltimGrid?] cannot be created in Korean. Access violation occurs | ||||
| Description | Duplicate of 0003026. Seems that the issue had been properly identified but the fix was incomplete: FChangeLinks must indeed be created *before* setting Options. The following works (only changed the order of the lines) constructor TJvDBGrid.Create(AOwner: TComponent); ... FChangeLinks := TObjectList.Create(False); // BEFORE setting Options below inherited Options := inherited Options - [dgAlwaysShowEditor]; ... while the latest code from Trunk (revision 11987) still causes an AV: ... inherited Options := inherited Options - [dgAlwaysShowEditor]; // (obones): issue 3026: need to create FChangeLinks at the beginning // so that any change can access the object. It seems that on some // foreign systems, the assignment to the Options property triggers // NotifyLayoutChange, so it needs the FChangeLinks object FChangeLinks := TObjectList.Create(False); ... Suggested fix has been tested on XP with Korean system language. See 0003026 for background information. PS: Didn't check JvDBUltimGrid, but the original poster mentioned it, so it will also probably be affected. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2008-11-26 07:39 | cguser | New Issue | |
| 2008-11-26 08:50 | AHUser | Note Added: 0015066 | |
| 2008-11-26 08:50 | AHUser | Status | new => resolved |
| 2008-11-26 08:50 | AHUser | Fixed in Version | => Daily / SVN |
| 2008-11-26 08:50 | AHUser | Resolution | open => fixed |
| 2008-11-26 08:50 | AHUser | Assigned To | => AHUser |