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|
|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|
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|
|2004-05-10 12:06||anonymous||New Issue|
||Status||new => acknowledged|
||Note Added: 0004225|
||Assigned To||=> user72|
||Status||acknowledged => feedback|
|2004-05-13 11:53||anonymous||Note Added: 0004238|
||Note Added: 0004240|
|2004-05-14 09:06||anonymous||Note Added: 0004273|
||Status||feedback => resolved|
||Resolution||open => fixed|
||Note Added: 0004279|