View Issue Details

IDProjectCategoryView StatusLast Update
0005562JEDI VCL00 JVCL Componentspublic2011-05-08 21:48
ReportertanffnAssigned Tojfudickar 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.39 
Target VersionFixed in Version 
Summary0005562: Separation of data and view in TJvAppStorageSelectList
DescriptionSince 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).
TagsNo tags attached.

Activities

jfudickar

2011-05-08 21:48

developer   ~0018542

Added to SVN

Issue History

Date Modified Username Field Change
2011-05-02 09:26 tanffn New Issue
2011-05-08 21:48 jfudickar Note Added: 0018542
2011-05-08 21:48 jfudickar Status new => resolved
2011-05-08 21:48 jfudickar Resolution open => fixed
2011-05-08 21:48 jfudickar Assigned To => jfudickar