Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodCode SnippetDelphiFiremonkey

Virtual Keyboard With TWebBrowser On Android In Delphi XE5 Firemonkey

Virtual Keyboard TWebBrowser Android Delphi FiremonkeyBy default Delphi XE5 Firemonkey doesn’t bring up the virtual keyboard when you tap an edit field inside of a TWebBrowser. This can be a problem if you are attempting to create an HTML5 app using the TWebBrowser control. The reason why this is the case is because TWebBrowser is actually wraps around a native Android control called a WebView that is floating over the top of the TForm. Someone came up with a fix that will allow the virtual keyboard to come up over on Stackoverflow. Another possible fix is to just use a Javascipt based virtual keyboard on the page you are viewing TWebBrowser with. The root of the fix is to allow the TWebBrowser control to get focus using:

[/crayon]

When you are done with the virtual keyboard you can also set the focus back to your form which may take care of some other issues like not being able to use the virtual keyboard in the rest of your form afterwards.

Head over to Stackoverflow to read the full discussion.

close

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

3 Comments

Leave a Reply to Matias Calderini Cancel reply