Page 1 of 1
Drop List Anomaly
Posted: Sun Aug 30, 2020 9:46 pm
by DaveyBoy
I've just noticed that the '&' character doesn't show up in the droplist, neither Ruby or Green.
The other 'shifted' characters appear to work ok so why not this one? . . any ideas?
Schematic is made with v3.0.6 but it's the same with the alpha:
Re: Drop List Anomaly
Posted: Sun Aug 30, 2020 11:19 pm
by deraudrl
Artifact of which font is used by the droplist prim?
Hang on, I'm vaguely remembering that ampersand is used as a 'shift' character in Windows menus/droplists to denote the keyboard accelerator for a menu item. Does the character after the ampersand display differently (bold/underlined)?
(Sorry, I really need to install FS on this laptop...can't look at your example at the moment.)
Re: Drop List Anomaly
Posted: Sun Aug 30, 2020 11:53 pm
by DaveyBoy
Hi Deraudrl
The character following would normally be a space . . but I just tried using an alpha character and it displayed normally.
Would have thought MS would have chosen a less popular character to denote a special meaning!
Re: Drop List Anomaly
Posted: Mon Aug 31, 2020 12:19 am
by tulamide
DaveyBoy wrote:Hi Deraudrl
The character following would normally be a space . . but I just tried using an alpha character and it displayed normally.
Would have thought MS would have chosen a less popular character to denote a special meaning!
Just escape it, like you do with paths as well (at least in Ruby)
Code: Select all
"this && that" ## will display "this & that"
"C:\\" ##will display "C:\"
Re: Drop List Anomaly
Posted: Mon Aug 31, 2020 12:29 am
by DaveyBoy
Yep that works . . Thanks Tulamide.
I did try escaping with ' \' & '/' but to no avail.
oh . . it works with green too!
Thanks again
