简体   繁体   中英

Does on screen keyboard of Windows 10 works with JavaFX TextFields?

I will be developing a JavaFX app for Windows 10. Does anyone know whether a JavaFX TextField on focus can trigger Windows 10 to show up its on screen keyboard?

Your experience is much appreciated!

JavaFX knows how to notify the on-screen touch keyboard HOWEVER we did not find a way to open a specific keyboard type according to the textfield value type.

Other than that assume that the keyboard will always hide the buttom 1/3 part of your app - so that IF you need that real-estate to be active when user types input in - it can't be done.

we are only able to use default layout - see Touch keyboard index on https://msdn.microsoft.com/en-us/library/windows/apps/mt280229.aspx

A follow up on changing they keyboard layout is here: Set numeric layout for windows onscreen keyboard programmatically

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM