Skip to content

ShowInfoBalloon - cWebBaseControl

Displays an information balloon

Type: Procedure

Parameters

Parameter Type Description
sCssClass String (Optional) CSS class to use for the balloon
sText String Text to display in the balloon
bOptShow Boolean If True, the info balloon will show immediately; if False, it will show when the control is hovered over with the mouse

Syntax

Procedure ShowInfoBalloon String sCssClass String sText Boolean bOptShow

Call Example

Send ShowInfoBalloon sCssClass sText bOptShow

Description

It is possible to show information balloons next to a control using the ShowInfoBalloon procedure. The HideInfoBalloon procedure can be used to hide the balloon. The balloon will be visible for a few seconds and show up again when the control is hovered with the mouse.

Object oWebButton1 is a cWebButton
    Set piColumnSpan to 1
    Set psCaption to "?"

    Procedure OnClick
        Send ShowInfoBalloon "" "Hello Users!<br><br>Clicking this button showed this balloon!"
    End_Procedure
End_Object

The example above shows how to show an information balloon at a simple button resulting in the image below. Note that HTML can be used as the content of the balloon.

See Also

ShowInfoBox