JVCL Help:TJvBalloonHint.ActivateHintRect

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Displays a balloon hint window at a specified position.


Pascal

 procedureActivateHintRect(ARect: TRect; constAHeader: WideString; constAHint: WideString; constVisibleTime: Integer = cJvBallonHintVisibleTimeDefault; constAIconKind: TJvIconKind = ikInformation; constAImageIndex: TImageIndex = -1);


Parameters

Parameters Description
ARect: TRect The position of the balloon's stem point on the desktop
const AHeader: WideString The header for the balloon.
const AHint: WideString The hint message for the balloon.
const VisibleTime: Integer = cJvBallonHintVisibleTimeDefault The maximum time in milliseconds that the balloon is visible.
const AIconKind: TJvIconKind = ikInformation The icon to be displayed in the balloon.
const AImageIndex: TImageIndex = -1 Indicates which image to draw in the balloon from the image list Images.


Description

Call ActivateHintRect to display the balloon window with its stem point at either the top or the bottom of the rectangle provided by the ARect parameter.
ActivateHintRect ensures that the balloon window appears entirely on screen.
After the component displays a balloon window, it automatically deactivates it after a time period

  • specified by the VisibleTime parameter - has elapsed. Set VisibleTime to 0 to disable theautomatic deactivation.

To hide a balloon window that is activated directly by calling ActivateHint, ActivateHintPos and ActivateHintRect, use the CancelHint method.
Use Options to specify that the component must use default values as specified by DefaultHeader, DefaultImageIndex and DefaultIcon, instead of the values of the parameters that may be given.


See Also

TJvBalloonHint.ActivateHint


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page