is there a way to improve this default delphi XE3 touch screen behaviour?
supposing we have our delphi application with a couple of edit boxes running on a touch screen computer. there’s some very strange behaviour I’m having some trouble with.
I’ll describe making the application:
- start a new delphi XE3 app “New VCL Metropolis UI Application”, “Blank Metropolis UI Application”.
- drop a couple of edit boxes on the form (we’ll call them Edit1 and Edit2).
- compile and deploy to touch screen computer
on touch screen computer: - run our new app
- touch in Edit1 (virtual keyboard appears nicely)
- touch in Edit1 again (virtual keyboard disappears…ok???)
- touch in Edit1 (virtual keyboard appears and then very quickly disappears)
- touch in Edit1 (virtual keyboard appears and then very quickly disappears)
- touch in Edit1 (virtual keyboard appears and then very quickly disappears)
Man, that “sucks”…the only way you can get the keyboard back is to touch Edit2 and then go back to Edit1.
how can I make this work properly? I can’t possibly expect my users to use this…
Decided not to use the virtual keyboard provided by the VCL/windows. Decided for now to use the TTouchKeyboard that comes with delphi and the CM_FOCUS message.