Skip to content

OnHotItemLeaving - cToolbarButton

Received whenever the mouse cursor leaves the bounds of the button

Type: Event

Parameters

Parameter Type Description
hoButtonEntering Handle The object-handle of the button that the mouse cursor is entering (that is, becoming hot) , or zero, if no other button is becoming hot

Syntax

Procedure OnHotItemLeaving Handle hoButtonEntering

Description

The OnHotItemLeaving event is received whenever the mouse cursor leaves the bounds of the button. However, this event can be redirected by setting the phmOnHotItemLeaving property to a different message-handle.

Col 1 Col 2
Note: You can also use the cWinControl's OnMouseMove mouse message in the toolbar.

Sample

Procedure OnHotItemLeaving Integer hoButtonEntering
Showln 'Leaving ' (Name(self)) ' Entering ' ;
(If(hoButtonEntering, Name(hoButtonEntering), "None"))
End_Procedure