I have a label that needs to indicate the value entered in the corresponding text field should be microseconds, abbreviated as “µs” – on a mac this is no big deal - option-m does the trick.
I can’t find an equivalent keystroke in Windows though - when googling the only results tell you to type Alt-230, but the Xojo IDE won’t allow this, it just beeps at me.
Normally I would just open the project in mac and make the edit there, but it’s on a windows machine that’s not on the network right now so it’s not that simple. There must be a way to do this directly in Windows, right?
I found it. But my god Windows is just an abomination of an operating system. I had to go to the Character Map application, then scroll through a tiny grid of letters until I spotted lowercase mu. Then select it to load it into a text field, then copy, then I could paste it into my app.
That’s 5 steps to do the same thing as option-m in the mac. yeesh.
Here are some solutions which worked in WordPad (not sure about Xojo).
1.On-Screen Keyboard
a) Enable the number pad.
b) Hold down the ALT key on your real keyboard (you may also have to hold down to fn key as well as ALT).
c) Click the keys on the virtual keyboard number pad (it was 0181 for me).
d) Release the real keyboard key(s).
2.Unicode Sequence
You can type the Unicode sequence 00b5 and then press ALT-X
3.Character Map
When you click on the glyph in the Character Map grid and its preview appears you can then drag and drop it.
Maybe I should clarify - I’m doing this in the label’s text field in the inspector. I’m also in 2023R4, if that matters. Beeps every time I try to type it in using Alt-230 on Windows, but it works on Mac.
Ahh. I see. the key here is the number pad. The keyboard on that machine is small and doesn’t have one. I swapped it out temporarily for one that does and it works.
If you do it using the numbers across the top of the keyboard it just beeps at you. if you do it with the numpad, it does nothing until you lift your finger off the Alt key, then µ appears. Not exactly intuitive, but it works.