TextHint support in TEdit and similar edit-like controls
Original Reporter info from Mantis: Wallaby
-
Reporter name:
Original Reporter info from Mantis: Wallaby
- Reporter name:
Description:
It looks like TextHint is not currently implemented in macOS Cocoa widgetset.
The OS offers this functionality via NSTextField.placeholderString, so it can be added to TEdit, TEditButton, TFileNameEdit and similar controls from the Misc tab.
Steps to reproduce:
Drop a TEdit on the form and fill in TextHint on macOS. No text hint is shown when the application is running.
Additional information:
It should be easy to link the TextHint property with the placeholderString of the underlying control, though my LCL knowledge is not sufficient. Having this will allow us to build better GUI on macOS.
Mantis conversion info:
- Mantis ID: 38198
- OS Build: 10.14
- Build: Trunk
- Platform: macOS Cocoa
- Fixed in revision: 64203 (#83065724)
- Monitored by: » Wallaby (Wallaby)