[Gambas-user] Control event

Benoit Minisini gambas at ...1...
Sun Apr 1 10:54:35 CEST 2007


On dimanche 1 avril 2007, Steven Lobbezoo wrote:
> Hi Frenando,
>
> Thats exactly what I did.
> Thanks
> Steven
>

There is no solution to the problem of knowing if an event comes from the user 
or from the program. The underlying toolkit usually does not track that, as 
it is too complex.

If you want to prevent an object from raising events, you can lock it with the 
Object.Lock() method, and unlock it with the Object.Unlock() method.

Regards,

-- 
Benoit Minisini




More information about the User mailing list