[Gambas-user] Control event
Steven Lobbezoo
steven at ...1652...
Mon Apr 2 17:20:37 CEST 2007
Yes, there might be :
You could use the "Key.Text" property to test if the user entered something .
If i'm right this should generate an error if there is no data from the
keyboard. You can use this to avoid updating if data does not come from the
user.
Im I right ?
Steven
Le dimanche 1 avril 2007 10:54, Benoit Minisini a écrit :
> 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,
More information about the User
mailing list