I sent one to you directly
Should be pushing one to github as we also have some updates for other open source bits to push out
I sent one to you directly
Should be pushing one to github as we also have some updates for other open source bits to push out
Got it, thanks.
DoCommand & the list of constants are by far the most interesting
You need to implement some kind of backing store for “the text” and will be asked for various information about it (what line is at this position, what characters are in this range etc) when the OS needs it (for something like the positioning of the auxiliary input pane for selecting one variant of a given character)
You can get as fancy as you want - or as straight forward simple as you want - for the backing store.
I see that. And it’s your responsibility to draw the text and the cursor, yes?
The Formatted Text Control may be the best example that’s available as far as I know.
Most of the TIC events are not too bad (and relatively easy to figure out), but some of the incomplete text events are a royal pain to get working. The original demo project that I received from Xojo Inc is pretty basic and doesn’t even do the Candidate Window (the accented characters popup). It took us a while to get FTC working with it.
Thanks. This is just a curiosity for me at this point, but I may take advantage of it in future projects. It’s nice to have the option.
I started this random post simply due to the fact that I never knew OS X Mavericks had this feature, and it has now generated more interest than any of my usual “help a newbie” posts
It IS a canvas
What this gives you as a proper OS X Text Input Client which you can’t do any other way
Beyond that its a canvas
[quote=83510:@Richard Summers]
I started this random post simply due to the fact that I never knew OS X Mavericks had this feature, and it has now generated more interest than any of my usual “help a newbie” posts :)[/quote]
Mac OS & OS X have always had a nice way of accessing special characters (nicer than other OSes IMHO) this popup makes it even simpler
If only getting my menubar to work was as simple
A menu bar
in a desktop project ?
That should “just work”
Here is a way to implement the accented characters popup on PC, through a long keypress and selection of the accented characters in a popup window.
This quick prototype has accents for the letter e only. Hold the e key and the popup appears where a click on the desired character enters it in the textarea. If the user clicks outside of the popup, or the ESC key is pressed, the popup closes and e remains in the text.
I basically wondered if I could in pure Xojo detect a hold on a key and emulate what the Mac OS X system does on PC. As it stands, the project is a quick proof of concept, but it would require very little work to add parameters for a whole collection of accented characters.
Download the LongPress project here.
Norman,
it has been a nightmare !
The menubar refuses to display correctly. I originally posted a request for help in my Four OS X Questions post.
I ended up deleting the menubar and then inserting a new one - but now I am soooo confused, my head hurts.
I posted a screenshot in MenuBar Needed post, as I think I have now set the menubar up wrongly.
P.S
I can’t believe I have now just hijacked my own post