If you press and hold a textbox on a touchscreen in Windows 8, a rectangle appears after some time. Here's a picture of it:
This rectangle is supposed to disappear when you release your finger. The context menu will now appear. (See Notepad for example.)
In a Delphi program, however, the rectangle is still there while the context menu is visible. It won't disappear until the menu closes. You can try this with a new VCL app with a TMemo.
How do I solve this?
Delphi still uses pre-Windows 8 UI events (ie. no WM_Pointer), but everything works fine except for this issue.
The problem goes away if you include toPenTapFeedback in Touch.TabletOptions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With