DrShepard 0 Posted January 11, 2021 Hello! I need to make hint appears in OnKeyPress event like in NumbersOnly-property (see attach). Because I use another input logic (not only numbers, but some special symbols too). I know that hint message is generated by Windows itself. What should I do? Share this post Link to post
Guest Posted January 11, 2021 in short: you can use BaloonHint for simulate this see sample in StackOverFlow and adapt it for you case https://stackoverflow.com/questions/34722086/procedure-to-show-a-hint-when-user-press-a-key-that-is-not-a-number-in-tedit Share this post Link to post
DrShepard 0 Posted January 11, 2021 11 minutes ago, emailx45 said: in short: you can use BaloonHint for simulate this see sample in StackOverFlow and adapt it for you case https://stackoverflow.com/questions/34722086/procedure-to-show-a-hint-when-user-press-a-key-that-is-not-a-number-in-tedit I know about TBalloonHint component, but I want to make system hint as I said. See attach again. Share this post Link to post
Guest Posted January 11, 2021 good way (path) is verify the sources on Delphi for this components (teditnumber) and see like this event works Share this post Link to post
Fr0sT.Brutal 900 Posted January 12, 2021 15 hours ago, DrShepard said: I know about TBalloonHint component, but I want to make system hint as I said. See attach again. What you're searching for are called tooltips. Window with TOOLTIPS_CLASS class, TTM_* messages and so on. Share this post Link to post
DrShepard 0 Posted January 12, 2021 The problem was solved) Topic is not actual anymore Share this post Link to post