donethat Posts: 9
25/10/2014
|
Hi Gian - I finally registered on the forum. I've attached a screenshot of a folder display - picture folders which I make as descriptive as possible - so they are wordy. I use the SyMenu setting to trigger the marquee effect only on focus...which I would prefer to only trigger when necessary. These 2 entries... 080724.1 Kim, Fiance & Beau Arrive 080831.1 Matt Randall Working Hard a. both have plenty of display room b. both have 34 characters c. Yet the 080724 line scrolls and the 080831 line does not. Wondering what the logic is? Is it possible to base the scroll on actual need? I.E. only when characters are actually hidden? Gary
|
|
link
|
Gianluca Administrator Posts: 1274
25/10/2014
|
Hi Gary. Welcome to the forum!
Scrolling on actual need is certainly possible but very demanding in terms of performance. As you certainly observed the width of every submenu is variable and depends on the larger item included inside the submenu itself. This calculation is automatic and I only have to set a maximum width limit to avoid too large menus.
If I have to calculate the actual need of room to activate a marquee I should do really heavy calculation to obtain the real space occupied by every label (it is a calculation based on the graphics rendered on your screen according with the font and letters used) and comparing it with the dynamic menu width. I fear that you should wait too much only to see the submenu. So I implemented a good compromise implementing the customizable marquee options (never, always on focus) working on labels longer than 34 characters.
Why do the behavior of your exactly equal labels seems so different? Well the two labels are not so equal. Since the '&' character is a special character in .NET menu, it has to be escaped and so it is longer than it seems. Give a look at the SyMenuItem.xml (SyMenuItem.zip) and you'll see that. Well, this is not a explanation but it only demonstrates that the marquee is buggy, because it should be based on the real string lenght and not on the escaped string. I put this bug in my TODO list but sincerely, in this period I'm working on a new revolutionary feature that completely transform SyMenu and these not blocking bugs are not my primary thoughts when I go to sleep
|
|
link
|
donethat Posts: 9
25/10/2014
|
You have a talent for explaining things in a way that I can understand! Thanks Gian
|
|
link
|
Drakkn Posts: 22
01/11/2014
|
Gianluca wrote:
in this period I'm working on a new revolutionary feature that completely transform SyMenu and these not blocking bugs are not my primary thoughts when I go to sleep
I can't wait to see this new feature!
|
|
link
|
Gianluca Administrator Posts: 1274
01/11/2014
|
Well indeed within some days/weeks I'll publish in the forum a depth description of the next mysterious new feature because I certainly need some help to test and to implement it.
Anyway if someone wants to join in this phase, at present I'm studying, analyzing, planning and building the monster, he'll be welcome.
I need experts (real experts) of portable applications and, if possible, developers experienced in xml schema (xsd).
Is any of the SyMenu users brave enough for this?
|
|
link
|
donethat Posts: 9
01/11/2014
|
I'll always be glad to test anything you send me. I'll make time to test on my office network too.
Level of expertise? Well...even though I write some fairly complex VBA, I think you might be looking for much more tech background. Having said that, I know the structure of XML & can edit it (as you know) - but expert? hmmmm
On the other hand, I am very good at testing, identifying bugs and usability - for ANY kind of software.
At your service if/whenever I can contribute.
|
|
link
|
Gianluca Administrator Posts: 1274
03/11/2014
|
Ok Gary. Your expertise and your willingness will be surely useful in the test phase. Currently I would need someone who usually works with xml schema. Anyway stay tuned for next posts about this issue... we will see incredible things in the future
|
|
link
|