I want to make a password editbox. I create a normal editbox and set those two properties:
Code: Select all
<Property Name="MaskText" Value="True" />
<Property Name="MaskCodepoint" Value="*" />
Then I saw that MaskCodepoint wants a 32 bit integer as value: the utf32 codepoint of the glyph to use for masking.
What the f ? how do I find out what's the codepoint of a star '*' ? I googled a bit but couldn't find this information.
edit: haha ok a few seconds after clicking on "Submit" it came to my mind that for charachters that are also in the ascii table, the utf32 glyph is the same as the ascii code. Thus for a star '*' it is 42.