Início > dev > api > name > gb.canraise 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
GB.CanRaise
int GB.CanRaise ( void *object , int id )

Checks if an objeto handles a specific event.

This function returns TRUE if the class of the object object has an event handler for the specified event, and returns 0 otherwise.

You will use this function to avoid raising useless events, as sometimes calling GB.Raise needs some heavy calculation.

But calling this function is not mandatory, as it implicitely called anyway by GB.Raise

Veja também

Event Management