Home   Help Search Login Register  

Author Topic: remove EH  (Read 731 times)

0 Members and 1 Guest are viewing this topic.

Offline Blanco

  • Former Staff
  • ****
remove EH
« on: 11 Jul 2003, 18:00:04 »
Thx to Igor Drukov the eventhandlers are very clear now!

look at http://www.ofpec.com/editors/list.php?show=pending

But to remove an EH...

Joe removeeventhandler ["fired",0]

What the 0?

An ID?

Search or search or search before you ask.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:remove EH
« Reply #1 on: 11 Jul 2003, 19:40:42 »
 :) Format of EH is [type,index].
As per comRef, Index is returned by addEventHandler. So, when any handler is removed,
all handler indices higher that the deleted one should be decremented.  :-*


      what is yer probby?  ??? :)

Rubble_Maker

  • Guest
Re:remove EH
« Reply #2 on: 11 Jul 2003, 19:41:20 »
Its the index returned by the AddEventhandler function. This is all in the official command reference!

Offline Blanco

  • Former Staff
  • ****
Re:remove EH
« Reply #3 on: 11 Jul 2003, 21:01:30 »
O... it's that simple?

Thx;

Search or search or search before you ask.