DelphiDelphiVCLPythonPython GUIWindows

What Does The OnHint Event In DelphiVCL.Application Do?

DelphiVCL.Application.NormalizeAllTopMosts blog banner

What is the DelphiVCL.Application.OnHint event?

The OnHint or DelphiVCL.Application.OnHint occurs when the mouse pointer moves over a control or menu item that can display a Help Hint. This mainly applies to Windows app development.

How to use the DelphiVCL.Application.OnHint event properly?

Write an OnHint event handler to perform special processing when the mouse pauses over a control or menu item whose Hint property is not an empty string.

A common use of the OnHint event is to display the value of a control or menu item’s Hint property in another control. Note that it is not necessary to use an OnHint event handler to display hints on a status bar. The status bar will automatically display hints if you set its AutoHint property to True.

Note: You can also respond to this event using the TApplicationEvents component, which allows you to assign an event handler using the IDE.

How to examine the properties and methods of the DelphiVCL.Application.OnHint?

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.OnHint using dir() command:

See the responses in our Windows command prompt:

What Does The OnHint Event In DelphiVCL.Application Do? Screen 1

You can also read short information about the DelphiVCL.Application.OnHint using the print() command:

See the responses in our Windows command prompt:

What Does The OnHint Event In DelphiVCL.Application Do? Screen 2

 

How can I get started with Python GUI building with DelphiVCL?

Here are the articles with ready to run Python scripts to get you started with DelphiVCL Python GUI Builder:

Browse all the DelphiVCL library documentation here:

https://pythongui.org/category/delphivcl/

This documentation is updated regularly.

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

close
Related posts
DelphiDelphiVCLPythonPython GUIWindows

What Are Bi-Directional Properties In DelphiVCL Applications?

DelphiDelphiVCLPythonPython GUIWindows

Everything You Need To Know About C++ ABI Inside DelphiVCL

DelphiDelphiVCLPythonPython GUIWindows

What Is The DelphiVCL.Application.CreateForm Method?

DelphiDelphiVCLPythonPython GUIWindows

This Is How The OnGetMainFormHandle Event Works

Leave a Reply

Your email address will not be published.

en_USEnglish