Name
ClearEvents -- clear user events (V1.5) / OBSOLETE
Synopsis
ClearEvents()
Function
Attention: This function is part of the Hollywood 1.x event library. You should not use it any longer. Please use the functions of the new library from Hollywood 2.0 which is much better.

This function clears all events.

Inputs
none

Example
CreateButton(1,10,10,110,110)
CreateButton(2,130,130,230,230)
CreateKeyDown(1,"ESC")
ClearEvents
End

Label(SIZEWINDOW)
Return

Label(ONJOYFIRE1)
Return

Label(CLOSEWINDOW)
Return
The above code defines some events and calls ClearEvents(). This function will now clear the following events: Button 1, Button 2 and Keydown 1. The events SIZEWINDOW, ONJOYFIRE1 and CLOSEWINDOW will not be cleared because they are only declared as labels. If you want to get rid of them, you can disable them.

Show TOC