View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005007 | JEDI VCL | 00 JVCL Components | public | 2009-11-04 20:49 | 2012-09-10 14:15 |
Reporter | tetardd | Assigned To | obones | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | 3.46 | |||
Summary | 0005007: TJvListView: add an OnBeginColumnResize, OnColumnResize, OnEndColumnResize events | ||||
Description | TJvListView: Add the above mentioned events as described in: http://thomasfreudenberg.com/blog/archive/2004/03/14/HDN-TRACK.aspx http://www.swissdelphicenter.ch/torry/showcode.php?id=1264 Note: The OnBeginColumnResize should have a "Var CanResize : Boolean" param that can be used to prevent that column resizing (see http://www.swissdelphicenter.ch/torry/showcode.php?id=2133). | ||||
Tags | No tags attached. | ||||
2009-11-08 10:56
|
ImprovedJvListView.zip (423,317 bytes) |
|
Included is my attempt at doing it. It seems to be working perfectly. You'll find a test unit called ImprovedJvListView where I simply created a descendant of TJvListView for testing the proposed changes, and, a small app to demonstrate it works. Then, you'll find my proposed additions already included in the SVN version of JvListView.pas unit, all my changes in that unit marked "DT". Note: 1- I could not resist the temptation in one place to clarify the code by renaming a variable ("Index" which is very unclear into "ColumnIndex" which is much clearer). 2- I also added one small other functionality that I could not find and that would be useful: a variable that indicates which colum is currently sorted. This way, we can save that value, for example in the registry then restore it when re-launching an application. It's called FSortedColumnIndex". |
|
Thanks for this, it will be reviewed and acted upon when we have more time |
|
This is now in SVN |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-04 20:49 | tetardd | New Issue | |
2009-11-08 10:56 | tetardd | File Added: ImprovedJvListView.zip | |
2009-11-08 11:02 | tetardd | Note Added: 0016863 | |
2009-12-04 14:47 | obones | Note Added: 0016934 | |
2009-12-04 14:47 | obones | Status | new => acknowledged |
2012-02-27 15:29 | obones | Note Added: 0019583 | |
2012-02-27 15:29 | obones | Status | acknowledged => resolved |
2012-02-27 15:29 | obones | Fixed in Version | => Daily / SVN |
2012-02-27 15:29 | obones | Resolution | open => fixed |
2012-02-27 15:29 | obones | Assigned To | => obones |
2012-09-10 14:15 | obones | Fixed in Version | Daily / SVN => 3.46 |