> >
> > *I Think
> > **********
> > Thisform.grid1.column3.AddObject("Command1","Commandbutton")
> > Thisform.grid1.column3.Sparse = .F.
> > Thisform.grid1.column3.CurrentControl = "Command1"
> > Thisform.grid1.column3.Command1.Alignment = 2
> > Thisform.grid1.column3.Command1.Caption = ""
> > Thisform.grid1.column3.Command1.Name = "Command1"
> > Thisform.grid1.column3.Command1.Picture = "D:/DELETE.PNG"
> > Thisform.grid1.column3.Visible = .T.
> > Thisform.grid1.column3.Alignment = 2
> > Bindevent(Thisform.grid1.column3.Command1,"Click",This,"procedure_del")
> >
> > Thanks & Regards
> > Suman Chakrabarti
>
>
> Miss Suman
> thanks a lot for such a great help.according to this code button appeared in datagrid, just one think more. how to delete record which user will select? And i didn't understand last line code. Please guide me about it.
>
> Bindevent(Thisform.grid1.column3.Command1,"Click",This,"procedure_del") &&& i didn't understand about this.
>
> thanks.
> best regards.
Procedure procedure_del
sele yourtable
delete
thisform.grid1.refresh
Endproc
Suman Chakrabarti