View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001352 | JEDI VCL | 00 JVCL Components | public | 2004-02-21 13:55 | 2004-03-09 02:47 |
| Reporter | anonymous | Assigned To | user72 | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0001352: JvFormStorage.ReadString - No default result | ||||
| Description | The JvFormStorage.ReadString don't set the default value if the registry key is empty. E.g.: Caption:=JvFormStorage.ReadString('Title','Unnamed') Where the Title key is empty. CAPTION --> '' | ||||
| Additional Information | The solution I adopted: File JvFormPlacement.pas FIRST function TJvFormPlacement.ReadString(const Ident, Default: string): string; begin if Assigned(AppStorage) then Result := AppStorage.ReadString(AppStorage.ConcatPaths([Ident]), Default) else Result := ''; end; AFTER function TJvFormPlacement.ReadString(const Ident, Default: string): string; begin if Assigned(AppStorage) then Result := AppStorage.ReadString(AppStorage.ConcatPaths([Ident]), Default) else Result := Default; end; | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-02-21 13:55 | anonymous | New Issue | |
| 2004-02-22 04:31 |
|
Status | new => assigned |
| 2004-02-22 04:31 |
|
Assigned To | => user72 |
| 2004-02-22 04:33 |
|
Status | assigned => resolved |
| 2004-02-22 04:33 |
|
Resolution | open => fixed |
| 2004-02-22 04:33 |
|
Note Added: 0002995 | |
| 2004-03-09 02:47 |
|
Status | resolved => closed |