How to show hint for disabled TDBEdit?

I have a TDBEdit that is not enabled and thus the tooltip is not displayed.
What would be the best way to display a hint while remaining disabled?

+3
source share
2 answers

The only thing I can think of is an overlay on TDBEdit with a fully transparent control that has ShowHint set to True and a set of Hint properties.

+2
source

Disable disabled TWinControl (TDBEdit is TWinControl) on container> TWinControl (e.g. TPanel) and set the TPanel prompt to the desired value.

0

Source: https://habr.com/ru/post/1732243/


All Articles