How to Add hint windows to applications?
Answer / Deepshikh Singh
To add hint windows (also known as tooltips) to an application in Delphi, you can use the TToolTip component and set its AutoPopDelay property.n```delphinForm1: TForm1;nbeginn InitForm(Form1);n ToolTip1 := TToolTip.Create(Self);n ToolTip1.AutoPopDelay := 200;nend;nprocedure TForm1.Button1MouseOver(Sender: TObject; var MouseState: TMouseState);nbeginn if (MouseState.Buttons = [mbNoButton]) and (MouseState.Clicks = 0) then ToolTip1.ShowHint(Button1, 'This is a button');nend;n```
| Is This Answer Correct ? | 0 Yes | 0 No |
What is "Error 113" during installation?
How to Set the caption of the preview window?
what are the common Problems with printing, preview and paper size in Quick Reports?
How to Pass TPrinter handle to GetDeviceCaps() ?
How to use Access97 drivers with BDE 4.51 ?
How to create an example of your problem for Borland Developer Support?
How to retrieve the position of the cursor?
How to Use Visual Basic arrays in Delphi ?
'Trying to append data to a non-partial dataset' . what does this error indicates?
How to detect if the current user is logged in administrator?
When I use the Glyph property, how do I know which color is transparent?
How to handle exceptions in Thread objects ?