[Gambas-user] Controls WebForm Ignore Events

Benoît Minisini g4mba5 at gmail.com
Fri Jan 26 14:53:53 CET 2018


Le 26/01/2018 à 14:43, Mayost Sharon a écrit :
>>
>> You can prevent a Gambas object from raising events by using
>> Object.Lock() / Object.Unlock().
>>
>> Beware : that way you can't ignore events raised from the browser (in
>> that example, when the user changes the text of the WebTextBox1
>> control). Only those that are raised immediately from your code on the
>> server side.
>>
>> Regards,
>>
>> -- 
>> Benoît Minisini
> ------- End of Original Message -------
> 
> Thank you
> But I see that this lock talks about files and not about events
> 
> Link to your documentation
> http://gambaswiki.org/wiki/lang/lock
> 

You didn't read what I wrote: I talked about Object.Lock().

http://gambaswiki.org/wiki/comp/gb/object/lock

-- 
Benoît Minisini


More information about the User mailing list