Re: VFP 8.0 grid losing focus and forcing a tableupdate()

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alan C. Sheffield (_at_)
Date: 12/06/04


Date: Mon, 6 Dec 2004 10:49:52 -0500

100% sure.

I've had breakpoints on
oldval()
getfldstate()
recno()

all of them fire as soon as the second forms activate is hit.

If I put VFP in a window so I can see the watch pane of the debugger I can
make it happen by clicking on the Data Session(set) window and bringing it
to the front. Putting a breakpoint on any code that executes between the
click and the activate of the new form makes the update happen when the
debugger takes focus.

And as I said, it works fine in VFP 9.

Alan

"Paul Pedersen" <no-reply@swen.com> wrote in message
news:OWMxWVZ2EHA.3840@tk2msftngp13.phx.gbl...
> That shouldn't happen. Are you sure there's no code being triggered when
the
> grid loses focus? Put a breakpoint on LINENO(), then leave the grid and
see
> what happens.
>
>
>
> "Alan C. Sheffield" <asheffield @ park west gallery.com> wrote in message
> news:%23sHfFOV2EHA.1076@TK2MSFTNGP09.phx.gbl...
> > Has anyone else run into the following situation:
> >
> > I have a row buffered cursor.
> >
> > I have a grid on this cursor.
> >
> > when the grid looses focus an automatic tableupdate() is done and I lose
> > the
> > ability to issue a tablerevert().
> >
> > The row does not change and no code is called to make the update happen.
> >
> > Alan Sheffield
> > Programmer
> > Park West Gallery
> >
> >
>
>



Relevant Pages

  • Re: VFP 8.0 grid losing focus and forcing a tableupdate()
    ... Put a breakpoint on LINENO(), then leave the grid and see ... > I have a row buffered cursor. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Second try - slow drag and drop
    ... You can download VFP9 from MSDN if you have a subscription. ... > Sounds like this will all work better in VFP 9 - is that released yet? ... >> However there's been an enhancement in the Grid in VFP9. ... >> filters, if they are optimizable expressions of course. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Cannot update cursor
    ... www.foxite.com - The Home Of The Visual FoxPro Experts ... I am using VFP ... > 2.1) Repeat step 1.1, testing sort feature, all OK. ... > 3) Modify form adding a button to add a new record to the grid. ...
    (microsoft.public.fox.vfp.dbc)
  • Re: SQL data to Grid Control
    ... SELECT recipe, date, amount FROM Recipes; ... several good or better xtab programs available for VFP. ... I guess a grid is what I ... > than using the Builder). ...
    (microsoft.public.fox.vfp.queries-sql)
  • Re: Record pointer moving on its own (its possessed!!)
    ... I and all my clients are running VFP 8 ... SP 1 and the bug you mentioned was fixed in SP 1. ... > grid refresh problem. ... On the tab is a grid showing the form's main table ...
    (microsoft.public.fox.programmer.exchange)