Re: Grid Control: Check box state reverse reported?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Oops, you're right, there's no good work around, can't use an onClick the
grid (mouse down) & then test inside the event for state of checkbox when it
doesn't change until mouse up.  Will wait until you post fix.

Dan


----- Original Message -----
From: "Dan Moyer" <DANIELMOYER at prodigy.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Grid Control: Check box state reverse reported?


>
> Phil,
>
> Oh, I *saw* that happening when I clicked, held, & then released the mouse
> button, but didn't grasp the (now obvious) significance!  (I'd have
probably
> understood if I had been watching the title bar also & seen the state
change
> report, but I was just looking at the checkbox itself.)  But now I can
> confidently just change a received "1" to a "0" & "0" to "1", & then
remove
> that when you post the change.
>
> Thanks.
>
> Dan
> ----- Original Message -----
> From: "Phil Russell" <pg_russell at lineone.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Thursday, February 13, 2003 6:34 AM
> Subject: RE: Grid Control: Check box state reverse reported?
>
>
> > Dan,
> >
> > It is not a timing problem. What is happening is that EGW_CLICK is sent
> > when you press the mouse button down, but the value in the checkbox only
> > changes when the mouse button comes up (this is the default behaviour
> > for checkboxes I believe).  I had been meaning to change this in the
> > next release to add two messages EGW_LEFTBUTTONDOWN and EGW_LEFTBUTTONUP
> > to cope with this.  As it is a minor change I will try and do this in
> > the next day or so and post the change to Rob.  Can't think of a
> > workaround in the meantime I am afraid...
> >
> > Regards,
> >
> > Phil
> >
> >
> > Dan Moyer wrote:
> > > Phil,
> > >
> > >  When I now check for the state of a newly clicked checkbox, I get the
> > > opposite of what it is.  I could of course just reverse them for use,
> > > but
> > > I'm worried it could be some kind of time anomaly which could act
> > > differently on differing systems.  Modification below at the end of
your
> > > last code shows this.
> > >
> <snipped code from reply>
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu