View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005528 | JEDI VCL | 00 JVCL Components | public | 2011-03-30 10:33 | 2011-03-31 21:48 |
Reporter | dcabale | Assigned To | jfudickar | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0005528: [TJvCustomCsvDataSet] BeforeScroll and AfterScroll not firing in Locate procedure | ||||
Description | Hi, BeforeScroll and AfterScroll are not firing in Locate procedure. Although standard CodeGear VCL should not be considered as the bible, This is what exists in TCustomClientDataSet (DBClient.pas) | ||||
Additional Information | Here is what I suggest: 1. move Locate procedure to a (private) LocateRecord procedure. 2. have a Locate procedure as follows: function TJvCustomCsvDataSet.Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; begin DoBeforeScroll; Result := LocateRecord(KeyFields, KeyValues, Options); if Result then begin Resync([rmExact, rmCenter]); DoAfterScroll; end; end; | ||||
Tags | AfterScroll, BeforeScroll, locate, LocateRecord, TJvCsvDataSet | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-03-30 10:33 | dcabale | New Issue | |
2011-03-30 11:13 | dcabale | Tag Attached: TJvCsvDataSet | |
2011-03-30 11:13 | dcabale | Tag Attached: AfterScroll | |
2011-03-30 11:13 | dcabale | Tag Attached: BeforeScroll | |
2011-03-30 11:13 | dcabale | Tag Attached: locate | |
2011-03-30 11:13 | dcabale | Tag Attached: LocateRecord | |
2011-03-31 21:48 | jfudickar | Status | new => resolved |
2011-03-31 21:48 | jfudickar | Resolution | open => fixed |
2011-03-31 21:48 | jfudickar | Assigned To | => jfudickar |