Bezeichnung
ClearEvents -- clear user events (V1.5) / VERALTET
Übersicht
ClearEvents()
Beschreibung
Achtung: Dieser Befehl ist Teil der Hollywood 1.x Ereignisbibliothek. Sie sollten ihn nicht länger verwenden. Bitte benutzen Sie die Befehle der neuen Bibliothek ab Hollywood 2.0.

This function clears all events.

Eingaben
none

Beispiel
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.

Navigation zeigen