Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/09/19 in all areas

  1. Project contains 100 cross platform samples now. https://github.com/FMXExpress/Cross-Platform-Samples The original 50 samples are also now available in C++. https://github.com/FMXExpress/CPP-Cross-Platform-Samples
  2. Der schöne Günther

    10.3.2 - FMX on Windows 10 Tablets with virtual keyboard

    The sourcecode from FMX.Platform.Win.pas (at least in 10.0 Seattle) does it all by itself and just launches "osk.exe" which is the keyboard from your second picture. The first one ("tabtip.exe") can (and as I believe, should) be launched instead. Here is an example: https://www.delphipraxis.net/186239-win-8-bzw-10-touch-tastatur-aufrufen.html#post1312405 Here is another but (not Delphi): https://github.com/AlexeiScherbakov/osklib I see that TVirtualKeyboardWin.Create() in Fmx.Platform.Win.Pas may use hardcoded paths to "osk.exe", but there is also a global variable "VirtualKeyboardWin". I think you should be able to subclass TVirtualKeyboardWin to use "tabtip" instead. And thenm let the global variable point to an instance of your subclass.
  3. Der schöne Günther

    10.3.2 - FMX on Windows 10 Tablets with virtual keyboard

    The second one ("OSK") is a legacy keyboard while the first one ("tabtip") is the one that should be used, in my opinion. Normally, Windows will invoke the keyboard when clicking/tapping text boxes with a finger (or pen, when configured). With FMX, it's still painted internally and not a "true" windows edit field with a HWND, right? I see FMX does its own thing in TVirtualKeyboardWin.Create (FMX.Platform.Win.pas), so you can probably use the global variable "VirtualKeyboardWin" and stuff in an implemtation that does not use the hardcoded path to "osk.exe".
×