How do I set the character of button text to a Unicode character that can't be typed on a keyboard? For example, Arial includes Greek characters, one of which is "?", represented as 'ϕ' in HTML and a Unicode value of 'U+03D5'. How do I assign this character to the text of the button? (using code, not cut and paste)
If by "using code" you mean "using events", then this works:
Button Set Text to "?"
If you meant "by numeric code of a character", add Browser object and try this:
Button Set Text to Browser.ExecJS("String.fromCharCode("& charCode &")")
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the response. The latter option is what I'm looking for, and works here. But being new to Construct, does adding a Browser object add much overhead to a project? The docs seem to say that the browser object simply exposes capabilities that are already present.
If you are talking about the project size or performance, then no, adding Browser object doesn't affect that.