Click or drag to resize

TextControl.ShowEditBalloonTip Method

X#
Add a BallonTip to the Edit control that has inherited from this class.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD ShowEditBalloonTip(
	cTitle,
	cText,
	dwIcon,
	hControl
) AS USUAL CLIPPER
Request Example View Source

Parameters

cTitle (Optional)
Type: Usual
The title displayed in the tip.
cText (Optional)
Type: Usual
The text displayed in the tip.
dwIcon (Optional)
Type: Usual
The icon to use in the tip.
hControl (Optional)
Type: Usual
The optional handle of the edit control to add the BalloonTip too. The default is the control that the method is called against.

Return Value

Type: Usual
Remarks
dwIcon can be:
ValueDescription
TTI_ERRORUse the error icon.
TTI_INFOUse the information icon.
TTI_NONEUse no icon.
TTI_WARNINGUse the warning icon
A balloon tip can be displayed, pointing to an edit control. The tip always points to the current cursor position within the control, and is dismissed by either clicking on it, by moving focus to a control other than the control the tip is assigned to, or by typing into the text box. Showing the tip automatically sets focus to the control at the last cursor position. A form can not show more than one tip at a time, and if the tip is repeatedly shown, the previous tip is destroyed first. Tips never get focus, and there is no message sent when the tip is dismissed. If the tip is not dismissed before the system timeout value for tool tips is reached, it automatically disappears leaving focus on the control.
See Also