> Benoît Minisini ha scritto:
> >>> bbb888 ha scritto:
> Benoit,
>
> Why oh why should setting checkbox value in code generate a click
> event?
>
> bruce
> >>>
> >>> I join.
> >>> I think that events should be fired by user, never by code.
> >>>
> >>> Regards,
> >>
> >
Benoît Minisini ha scritto:
>>> bbb888 ha scritto:
>>>
Benoit,
Why oh why should setting checkbox value in code generate a click
event?
bruce
>>> I join.
>>> I think that events should be fired by user, never by code.
>>>
>>> Regards,
>>>
>>
> nospam.nospam.nospam wrote:
> > You'd be saying exactly the opposite if gambas was badly designed and
> > didn't
> > generate the event on a coded change when you needed it to. You would
> > have no way in hell of easily detecting it, not ever. Besides that,
> > firing events
> > for code-set att
> > bbb888 ha scritto:
> > > Benoit,
> > >
> > > Why oh why should setting checkbox value in code generate a click
> > > event?
> > >
> > > bruce
> >
> > I join.
> > I think that events should be fired by user, never by code.
> >
> > Regards,
>
> Why should we make a difference between the user an
nospam.nospam.nos...@gmail.com ha scritto:
> Doriano Blengino wrote:
>
>> bbb888 ha scritto:
>>
>>> Benoit,
>>>
>>> Why oh why should setting checkbox value in code generate a click
>>> event?
>>>
>>>
>> I join.
>> I think that events should be fired by user, never by code.
>>
>
bbb888 wrote:
> nospam.nospam.nospam wrote:
>>
>>
>> You'd be saying exactly the opposite if gambas was badly designed and
>> didn't
>> generate the event on a coded change when you needed it to. You
>> would have no way in hell of easily detecting it, not ever. Besides
>> that, firing events
>>
nospam.nospam.nospam wrote:
>
>
> You'd be saying exactly the opposite if gambas was badly designed and
> didn't
> generate the event on a coded change when you needed it to. You would have
> no way in hell of easily detecting it, not ever. Besides that, firing
> events
> for code-set attri
Doriano Blengino wrote:
> bbb888 ha scritto:
>> Benoit,
>>
>> Why oh why should setting checkbox value in code generate a click
>> event?
>>
>> bruce
>>
> I join.
> I think that events should be fired by user, never by code.
You'd be saying exactly the opposite if gambas was badly designed and did
bbb888 wrote:
> Benoit,
>
> Why oh why should setting checkbox value in code generate a click
> event?
Because setting a checkbox value in code is a pseudo-click. How would you
feel if it didn't genrate a click but you wanted it to?
Set a flag before setting the checkbox then check the flag in t
but in this case it will work
Object.lock(checkbox)
Checkbox.value=true
Object.Unlock(checkbox)
so then the events are fired ... it is just blocked during the variable setting
2009/11/21 Doriano Blengino :
> Fabien Bodard ha scritto:
>> Le 21 novembre 2009 14:10, Benoît Minisini
>> a écrit :
>>
Fabien Bodard ha scritto:
> Le 21 novembre 2009 14:10, Benoît Minisini
> a écrit :
>
>>> bbb888 ha scritto:
>>>
Benoit,
Why oh why should setting checkbox value in code generate a click event?
bruce
>>> I join.
>>> I think that events should be fire
Le 21 novembre 2009 14:10, Benoît Minisini
a écrit :
>> bbb888 ha scritto:
>> > Benoit,
>> >
>> > Why oh why should setting checkbox value in code generate a click event?
>> >
>> > bruce
>>
>> I join.
>> I think that events should be fired by user, never by code.
>>
>> Regards,
>>
>
> Why should w
> bbb888 ha scritto:
> > Benoit,
> >
> > Why oh why should setting checkbox value in code generate a click event?
> >
> > bruce
>
> I join.
> I think that events should be fired by user, never by code.
>
> Regards,
>
Why should we make a difference between the user and the code? Most of the
ti
@lists.sourceforge.net
Sent: Sat, 21 Nov 2009 04:05:11 -0800 (PST)
Subject: [Gambas-user] Setting a checkbox value
> Benoit,
>
> Why oh why should setting checkbox value in code generate a click event?
>
> bruce
> --
> View this message in context:
http://old.nabble.com/Set
bbb888 ha scritto:
> Benoit,
>
> Why oh why should setting checkbox value in code generate a click event?
>
> bruce
>
I join.
I think that events should be fired by user, never by code.
Regards,
--
Doriano Blengino
"Listen twice before you speak.
This is why we have two ears, but only one mo
Benoit,
Why oh why should setting checkbox value in code generate a click event?
bruce
--
View this message in context:
http://old.nabble.com/Setting-a-checkbox-value-tp26455936p26455936.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
16 matches
Mail list logo