Subject | Re: [IBO] IB_Grid OnEnter problem |
---|---|
Author | Pirtea Calin |
Post date | 2001-08-28T16:29:37Z |
I've overriten in ib_grid the doenter and doexit because i needed the grid
title to change the font between focused and not focused, and it was
important that onenter fires only once (same onexit). I don't know if there
is a problem with any of them but i used a flag to determine if grid was
already focused so maybe that will do since you won't fire onenter unless it
wasn't focused and viceversa.
Would this help?
--
Regards,
Pirtea Calin.
SoftScape - Software Development
pcalin@...
""Jason Wharton"" <jwharton@...> wrote in message
news:032101c12f49$6f2490f0$a9c90118@CX170673E...
title to change the font between focused and not focused, and it was
important that onenter fires only once (same onexit). I don't know if there
is a problem with any of them but i used a flag to determine if grid was
already focused so maybe that will do since you won't fire onenter unless it
wasn't focused and viceversa.
Would this help?
--
Regards,
Pirtea Calin.
SoftScape - Software Development
pcalin@...
""Jason Wharton"" <jwharton@...> wrote in message
news:032101c12f49$6f2490f0$a9c90118@CX170673E...
> What is probably happening is it is bouncing between the in place editorwhat
> control and the grid itself.
> This will probably need some close analysis. At this point I don't know
> I can do about it short of spend a solid 2 or three days on it, which I
> don't have at the moment.
>
> Does anyone out there have any suggestions about what we can do here?
>
> Thanks,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: <lester@...>
> To: "IBO" <IBObjects@yahoogroups.com>
> Sent: Monday, August 27, 2001 5:28 AM
> Subject: [IBO] IB_Grid OnEnter problem
>
>
> > I have just moved a section of old code over to IBO4 and
> > have hit a major snag.
> >
> > I use the OnEnter event to switch to and from operating
> > modes. If I am in one grid, then the second grid 'cycles'
> > round displaying a sequence of pages, (OnEnter) into the
> > second grid should disable the cycling while pages of the
> > sequence are edited, and (OnEnter) back to the first grid
> > switches cycling back on. This was working fine with RXGrid,
> > but the IB_Grid is firing the event on it's own accord, when
> > there is a change of selected record.
> >
> > Should one expect that? I believe that the OnEnter event
> > should only be fired when the mouse or keyboard is used to
> > enter that visual control as happens with RXGrid.
> >
> >
> > --
> > Lester Caine
> > -----------------------------
> > L.S.Caine Electronic Services
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>