Underscore in text label

Linux specific forum
MarkR
New User
New User
Posts: 8
Joined: Fri Apr 18, 2008 9:03 pm
Location: USA

Underscore in text label

Post by MarkR »

I have some code from windows with a text label such as "This is a &Test" which will put the underscore under the T in test. To display to the user the shortcut value to use.

When I run the code on Linux I get the literal without the underscore.

I see some programs use this under Linux. Is this possible with PB 4.1?

Thanks.

MarkR
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

In PB4.20 beta 1 it works with MenuTitle and MenuItem, i have no older
version to test.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
MarkR
New User
New User
Posts: 8
Joined: Fri Apr 18, 2008 9:03 pm
Location: USA

Post by MarkR »

Thanks. I will put in my notes to revisit when I am ready for 4.2. Maybe I won't code in those items for now. At this time I am trying to get the entire code base written with 4.1 and tested across all three platforms.

- MarkR
Post Reply