Page 1 of 1

Wrong filename shown in document tabs

Posted: Sat Jan 17, 2004 5:57 am
by Dwedit0
When I have a document with a '&' character in the filename, it is shown in the document tabs as a '%' sign instead.

Posted: Sat Jan 17, 2004 4:38 pm
by talleyrand
TP 4.7.1 Windows 2K. I can't reproduce your issue.

Posted: Sat Jan 17, 2004 6:50 pm
by MudGuard
I can reproduce it - only in the document tabs, not in the document selector.

My guess: the & is replaced intentionally, because in Windows, a & in a menu, button text, tab label ... is used to indicate the accelerator key (the following letter).
So du&mmy would be displayed as dummy and Alt-m would be the key associated with this menu/button/tab/...

IF my assumption is true, it would help to replace the & not by a %, but by two & (du&mmy --> du&&mmy instead of du&mmy --> du%mmy) as a double & in these cases is interpreted as a displayed &.

Posted: Sat Jan 17, 2004 10:25 pm
by talleyrand
Well, colour me ignorant, I'd never used the document tabs! (View -> Document Tabs)
Yup, I take back my findings and concur with MudGuard in his findings and his reasonings too.