View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001747 | JEDI VCL | 00 JVCL Components | public | 2004-05-10 12:06 | 2004-05-14 11:12 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001747: JVMruManager length of menu item | ||||
Description | It would be nice to set the maximum lenght for the menu item and a switch if it should look like C:\SomePa...\text.txt or ...notherDir\text.txt There is a function PathCompactPath in jcl for this manipulation. This would be helpfull to use MenuLocation := mruSibling | ||||
Tags | No tags attached. | ||||
|
PathCompactPath doesn't support the "...notherDir\text.txt style" so that would have to be implemented manually (no biggie, though). Supposing there was a MaxLength property, what would be best: MaxLength = pixels or MaxLength = characters? |
|
I would say the best for me is MaxLength = characters. |
|
I'm pleased because I checked in a version yesterday :) with two new properties: propery MaxLength:integer; - sets the maximum number of characters to display of the path property StartEllipsis:boolean; - if true, the first part of the path is removed, if false, the middle part of the path is removed Note that MaxLength is approximate when StartEllipsis is false, and exact when it is false. This is due to how DrawText calculates the length of a string as opposed to just chopping of characters at the beginning of the path so it is <= MaxLength. Try it out and let me know what you think. |
|
Looks great, thanks a lot!!!! |
|
You are welcome |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-05-10 12:06 | anonymous | New Issue | |
2004-05-11 23:46 |
|
Status | new => acknowledged |
2004-05-12 13:46 |
|
Note Added: 0004225 | |
2004-05-12 13:46 |
|
Assigned To | => user72 |
2004-05-12 13:46 |
|
Status | acknowledged => feedback |
2004-05-13 11:53 | anonymous | Note Added: 0004238 | |
2004-05-13 13:09 |
|
Note Added: 0004240 | |
2004-05-14 09:06 | anonymous | Note Added: 0004273 | |
2004-05-14 11:12 |
|
Status | feedback => resolved |
2004-05-14 11:12 |
|
Resolution | open => fixed |
2004-05-14 11:12 |
|
Note Added: 0004279 |