View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005291 | JEDI VCL | 00 JVCL Components | public | 2010-08-10 21:24 | 2010-09-06 16:39 |
Reporter | digoni | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.39 | ||||
Target Version | Fixed in Version | ||||
Summary | 0005291: TJvFormStorage not save at runtime | ||||
Description | Hi, I have a TJvFormStorage (JvFormStorage1) on my form (fxBase), and at runtime i added StoredProps of some components. When i open the INI file, everything is fine excepts the StoredProps dont write, even, when the form is opened, the properties are not loaded. How can i add StoredProps at runtime to load and save it ?? | ||||
Additional Information | some piece of code: procedure TFxBase.FormCreate(Sender: TObject); begin for I := 0 to pred(ComponentCount) do begin if (Components[I] is TJvDBGrid) then begin TJvDBGrid(Components[I]).IniStorage := JvFormStorage1; TJvDBGrid(Components[I]).Columns.State := csCustomized; JvFormStorage1.StoredProps.Append(TJvDBGrid(Components[I]).Name+ '.AlternateRowColor'); JvFormStorage1.StoredProps.Append(TJvDBGrid(Components[I]).Name+ '.RowHeight'); JvFormStorage1.StoredProps.Append(TJvDBGrid(Components[I]).Name+ '.FixedCols'); end; end; end; | ||||
Tags | JvAppIniFileStorage, JvFormStorage | ||||
|
Could you add a cimplete sample, to see how your code should work. Kind regards Jens |
2010-08-11 13:49
|
Test-JvFormStorage.zip (620,160 bytes) |
|
I've added an attachment. On FormCreate i add 3 JvDBGrid1 properties to JvFormStorage1 at runtime. Simply open and close Project1.exe to generate the Project1.ini. Inside the INI the 3 properties are not writed. Thanks in advance |
|
Hi, somebody can change this thread status to "done" ?? The problem is solved in other thread ID 5318 Thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-08-10 21:24 | digoni | New Issue | |
2010-08-11 09:01 | jfudickar | Note Added: 0017554 | |
2010-08-11 09:01 | jfudickar | Status | new => feedback |
2010-08-11 13:49 | digoni | File Added: Test-JvFormStorage.zip | |
2010-08-11 13:53 | digoni | Note Added: 0017558 | |
2010-08-11 13:55 | digoni | Tag Attached: JvAppIniFileStorage | |
2010-08-11 13:55 | digoni | Tag Attached: JvFormStorage | |
2010-09-06 15:55 | digoni | Note Added: 0017656 | |
2010-09-06 16:39 | jfudickar | Status | feedback => resolved |
2010-09-06 16:39 | jfudickar | Resolution | open => fixed |
2010-09-06 16:39 | jfudickar | Assigned To | => jfudickar |