How do I remove a delete row from the grid when the user clicks on the
delete column? I'm using a curosr and have tried adding a refresh command
in the deleted event of the grid but it does not remove the row.

Thanks

Removing deleted row from the grid by Glen

Glen
Mon Dec 01 16:01:06 CST 2003

You need to have "SET DELETED ON"

>-----Original Message-----
>How do I remove a delete row from the grid when the user
clicks on the
>delete column? I'm using a curosr and have tried adding
a refresh command
>in the deleted event of the grid but it does not remove
the row.
>
>Thanks
>
>
>.
>


Re: Removing deleted row from the grid by Joaquin

Joaquin
Mon Dec 01 16:03:47 CST 2003

I do have set delete on but when I double click on the delete mark the row
is still display.

"Glen Gillman" <glentechnology@yahoo.com> wrote in message
news:034001c3b856$9e9810d0$a401280a@phx.gbl...
> You need to have "SET DELETED ON"
>
> >-----Original Message-----
> >How do I remove a delete row from the grid when the user
> clicks on the
> >delete column? I'm using a curosr and have tried adding
> a refresh command
> >in the deleted event of the grid but it does not remove
> the row.
> >
> >Thanks
> >
> >
> >.
> >
>



Re: Removing deleted row from the grid by Wolfgang

Wolfgang
Mon Dec 01 16:59:14 CST 2003

If you double click on the DeleteMark you delete the record and recall the
record. One click for delete the other for recall

--
_________________

MFG
Wolfgang Schmale

MS Visual FoxPro MVP

--------------------------------
"Joaquin" <jlopezh@earthlink.net> schrieb im Newsbeitrag
news:u01K7bFuDHA.684@TK2MSFTNGP09.phx.gbl...
> I do have set delete on but when I double click on the delete mark the row
> is still display.
>
> "Glen Gillman" <glentechnology@yahoo.com> wrote in message
> news:034001c3b856$9e9810d0$a401280a@phx.gbl...
> > You need to have "SET DELETED ON"
> >
> > >-----Original Message-----
> > >How do I remove a delete row from the grid when the user
> > clicks on the
> > >delete column? I'm using a curosr and have tried adding
> > a refresh command
> > >in the deleted event of the grid but it does not remove
> > the row.
> > >
> > >Thanks
> > >
> > >
> > >.
> > >
> >
>
>


Re: Removing deleted row from the grid by Gregory

Gregory
Tue Dec 02 01:55:54 CST 2003

Joaquin,

After the delete, you need to move off the record before you refresh()

Something like

skip
if( eof() )
go bottom
endif
=this.Refresh()


Have a look at the comment Wofgang has made as I have never used the
deleted() event of the grid
_________________
"Joaquin" <jlopezh@earthlink.net> wrote in message
news:eAuzyVFuDHA.2520@TK2MSFTNGP10.phx.gbl...
> How do I remove a delete row from the grid when the user clicks on the
> delete column? I'm using a curosr and have tried adding a refresh command
> in the deleted event of the grid but it does not remove the row.
>
> Thanks
>
>


Re: Removing deleted row from the grid by Joaquin

Joaquin
Tue Dec 02 11:57:59 CST 2003

Okay I'll try that.

Thanks

"Gregory Adam" <GregoryAdam@PleaseReplyViaNewsGroup.com> wrote in message
news:%23QO0KnKuDHA.2304@TK2MSFTNGP12.phx.gbl...
> Joaquin,
>
> After the delete, you need to move off the record before you refresh()
>
> Something like
>
> skip
> if( eof() )
> go bottom
> endif
> =this.Refresh()
>
>
> Have a look at the comment Wofgang has made as I have never used the
> deleted() event of the grid
> _________________
> "Joaquin" <jlopezh@earthlink.net> wrote in message
> news:eAuzyVFuDHA.2520@TK2MSFTNGP10.phx.gbl...
> > How do I remove a delete row from the grid when the user clicks on the
> > delete column? I'm using a curosr and have tried adding a refresh
command
> > in the deleted event of the grid but it does not remove the row.
> >
> > Thanks
> >
> >
>