Bezeichnung
EnableEvent -- enable an event / VERALTET
Übersicht
EnableEvent(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 EnableButton().

This function enables the event specified by type and id. Once an event is enabled, it will be monitored by Hollywood. You will only have to call this function if you disabled the event before because by default, all events are enabled.

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 enable
Beispiel
EnableEvent(#ONBUTTONOVER,1)
EnableEvent(#ONBUTTONCLICK,1)
EnableEvent(#ONBUTTONRIGHTCLICK,1)
The above code completely enables the monitoring of button 1 (every button has three events #ONBUTTONOVER, #ONBUTTONCLICK and #ONBUTTONRIGHTCLICK). Therefore if you want to enable a button completely you will have to call EnableEvent() thrice.

Navigation zeigen