Samuel Soldat

Send e-mail to this Author

Vyzkoušejte opravdu rychlý vývoj aplikací v nástrojích rodiny RAD Studio

  • Návrh aplikací založený na ověřených komponentách
  • Kvalitní prostředí s řadou průvodců a usnadnění pro efektivní vývoj
  • Jeden jazyk a zdrojový kód pro mobilní zařízení, desktop i aplikační server
  • Výsledné aplikace spustitelné pod Windows, macOS, Android, iOS i Linux
Author Products

Total 1 product

Tool tips API Wrapper v.11.III.13

Components > Misc. Effects > Hints

By Leonid Lebedev, Samuel Soldat.

Freeware + source 18 Mar 2011

Description

Unit ToolTips.pas contains several classes wrapping ToolTips API. These classes allow to manage the tool tips easily. There are different types of tool tips in Windows. They are tool tips for rectangular areas, tracking tool tips, multiline tool tips, balloon tool tips and in-place tool tips. ToolTips.pas implements TStandardToolTipControl, TTrackingToolTipControl, TMultilineToolTipControl, TBalloonToolTipControl and TInPlaceToolTipControl classes for dealing with every of the tool tips type. You can use all the types of tool tips in the same application.

The base class TToolTipControl encapsulates ToolTips API calls and provides common methods, properties and events for tool tips. Because THintWindow or even TWinControl is too heavy to use for tool tips, TToolTipControl is descendant class of TToolTipWindow - lightweight window control class for the tool tips usage.

To make a tool tip for a control you must create instance of TToolTip class and then call Add method of one of the descendant of TToolTipControl class with created instance passed into. To change default behavior of created tool tip you can adjust its properties and assign events handlers. See demo included for details.

Informations

  • Status: Fully functional
  • Source: Included
  • Exe demo: included
  • Size: 20kB

Platforms: D7