View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005562 | JEDI VCL | 00 JVCL Components | public | 2011-05-02 09:26 | 2011-05-08 21:48 |
Reporter | tanffn | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.39 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005562: Separation of data and view in TJvAppStorageSelectList | ||||
Description | Since one GUI doesn’t fit all, there is a need to separate the core functionality (save/load) from the UI. 1. I propose to create a new class that contains and exposes only: SelectList: StringList; Load(ItemIndex: integer); Save(Name: string); (and of course all the reference to FormStorage) 2. Have separate class TJvAppStorageSelectListGUI (which uses today’s code). A user can now use TJvAppStorageSelectListGUI (that will be compatible with todays TJvAppStorageSelectList) or write his own GUI (if its by inheriting TJvAppStorageSelectListGUI OR just using the direct calls to TJvAppStorageSelectList.Save/Load). | ||||
Tags | No tags attached. | ||||