Jump to content
Sign in to follow this  
DrShepard

TEdit hint in OnKeyPress

Recommended Posts

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? 

 

hint2.png

Share this post


Link to post
Guest

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×