View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005680 | JEDI VCL | 00 JVCL Components | public | 2011-10-13 07:35 | 2011-11-30 19:36 |
Reporter | bazilio | Assigned To | jfudickar | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0005680: TJvMemoryDataSet.FRecords moved to private section | ||||
Description | Hi! I use TJvMemoryDataSet as a buffer to display my object data in the data-aware such as TDBGridEh. And I need to do custom sorting of JvMemoryDataSet, rules of sorting is not trivial asc of desc. I an older versions of JVCL I done it with: using type THackJvMemoryData = class helper for TJvMemoryData public procedure SwapRecords(Idx1: integer; Idx2: integer); end; procedure THackJvMemoryData.SwapRecords(Idx1, Idx2: integer); begin FRecords.Exchange(Idx1, Idx2); end; In the last version of JVCL you move FRecords to private section. I could hack to access private members through well known techniquies as fake classes and cast. But may be you may add public procedure SwapRecords in the next revision of JVCL? | ||||
Tags | No tags attached. | ||||
|
Added as a protected procedure. Please verify |
|
I'll juts move that to protected section. |
|
Ups.. did not see comment :) |
|
I wonder of status, what kind of "user feedback" is needed still ? |
|
I wanted to give him the chance to say, ok, or not nice, or what ever. My implementation was a little bit different from his wish. But no answer, so we should close it :-) |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-13 07:35 | bazilio | New Issue | |
2011-11-06 14:06 | jfudickar | Note Added: 0019089 | |
2011-11-06 14:06 | jfudickar | Status | new => feedback |
2011-11-06 14:33 | ZENsan | Note Added: 0019090 | |
2011-11-06 14:33 | ZENsan | Note Added: 0019091 | |
2011-11-30 18:56 | Arioch | Note Added: 0019165 | |
2011-11-30 19:36 | jfudickar | Note Added: 0019166 | |
2011-11-30 19:36 | jfudickar | Status | feedback => resolved |
2011-11-30 19:36 | jfudickar | Resolution | open => fixed |
2011-11-30 19:36 | jfudickar | Assigned To | => jfudickar |