The Canvas Control in desktop projects has several events to evaluate the keyboard input.
iOSCanvas does not have these. Is there a way for the following things:
if an iOSCanvas has the focus (for example with a Boolean property “HasFocus = True”) to show the iOS keyboard
it is my understanding that only objects that support “canBeFirstResponder” can show the keyboard
and I would doubt that a Canvas is such an object.
I wrote an app years ago (Swift) where I needed to emulate this type of behaviour… what I did was created an invisible textfield, and had it manage the characters…
It is about the representation of a custom control that should react to user input. UITextField and UITextArea are not options for me. I’m just evaluating if it would be possible at all.
Maybe you can add a Textfield (out of visible bounds) to your custom control. So Canvas ist for design and textfield for user input.
You can then react on the TextChange Event to do whatever you want.
Hans… might want to read all the topics first… I only suggested exactly that twice so far… but it seems the OP for some unknown reason has rejected that solution
Dave i’ve read your suggestions, but what i wanna add is that he can stay for a canvas to use (for whatever reason) and has more options for his UI. For example to use the Tap Up/Down events from canvas to get focus or clear input or whatever. I personally have created a custom control for my formula calculator in this way to have an input control with additional function buttons in it.
I don’t wanted to repeat what you’ve already mentioned, that would be time wasting.