TextControl.ShowEditBalloonTip Method | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual ShowEditBalloonTip(
Usual cTitle = default,
Usual cText = default,
Usual dwIcon = default,
Usual hControl = default
)
Request Example
View SourceParameters
- 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:
UsualRemarks
dwIcon can be:
Value | Description |
---|
TTI_ERROR | Use the error icon. |
TTI_INFO | Use the information icon. |
TTI_NONE | Use no icon. |
TTI_WARNING | Use 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