Bezeichnung
DisableEvent -- disable an event / VERALTET
Übersicht
DisableEvent(type,id)
Beschreibung
Achtung: Dieser Befehl ist Teil der Hollywood 1.x Ereignisbibliothek. Sie sollten ihn nicht länger verwenden. Bitte benutzen Sie nun den Befehl DisableButton().

This function disables the event specified by type and id. Once an event is disabled, it will not be monitored any longer. However, you can enable it again later by using the EnableEvent().

Do not forget to specify the '#' prefix for all events because you are passing constants!

Eingaben
type
event type (e.g. #ONBUTTONOVER, #ONBUTTONCLICK, #CLOSEWINDOW)
id
event number to disable
Beispiel
DisableEvent(#ONBUTTONOVER,1)
DisableEvent(#ONBUTTONCLICK,1)
DisableEvent(#ONBUTTONRIGHTCLICK,1)
The above code completely disables the monitoring of button 1 (every button has three events #ONBUTTONOVER, #ONBUTTONCLICK and #ONBUTTONRIGHTCLICK). Therefore if you want to disable a button completely you will have to call DisableEvent() thrice.

Navigation zeigen