Balloon (gb.form)

This class displays a message and an optional icon inside a balloon using the tooltip colors.

It is intended to replace the Message class by a less disturbing GUI element.

This class is static.

This class can be used as a static function.

Static properties
Control   Returns the control the balloon points at, or NULL if no balloon is displayed.
Delay   Returns or sets the number of milliseconds the balloon is displayed.
Font   Returns or sets the balloon text font.
Visible   Return TRUE if the ballon is visible.

Static methods
Delete   Displays a message with a trash icon in a balloon using the systems tooltip colors.
Error   Displays a message with an error icon in a balloon using the systems tooltip colors.
Hide   Explicitely hides the balloon.
Info   Displays a message in a balloon using the systems tooltip colors.
Question   Displays a message with a question icon in a balloon using the systems tooltip colors.
Warning   Displays a message with a warning icon in a balloon using the systems tooltip colors.

A Balloon.Info() message will be called when calling this class directly.

Eg.

Balloon(Message As String, Control As Control [ , X As Integer, Y As Integer ])

See Info for more details.

Since 3.16

You can change the look by setting the Color.TooltipBackground and Color.TooltipForeground properties.