Drop List Anomaly

For general discussion related FlowStone
Post Reply
User avatar
DaveyBoy
Posts: 131
Joined: Wed May 11, 2016 9:18 pm
Location: Leeds UK

Drop List Anomaly

Post 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:

Droplist Test.fsm
(3.43 KiB) Downloaded 1047 times
deraudrl
Posts: 239
Joined: Thu Nov 28, 2019 9:12 pm
Location: SoCal

Re: Drop List Anomaly

Post 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.)
I keep a pair of oven mitts next to my computer so I don't get a concussion from slapping my forehead while I'm reading the responses to my questions.
User avatar
DaveyBoy
Posts: 131
Joined: Wed May 11, 2016 9:18 pm
Location: Leeds UK

Re: Drop List Anomaly

Post 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!
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Drop List Anomaly

Post 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:\"
"There lies the dog buried" (German saying translated literally)
User avatar
DaveyBoy
Posts: 131
Joined: Wed May 11, 2016 9:18 pm
Location: Leeds UK

Re: Drop List Anomaly

Post by DaveyBoy »

Yep that works . . Thanks Tulamide.
I did try escaping with ' \' & '/' but to no avail.

oh . . it works with green too!

Thanks again :D
Post Reply