Peter,
The grids double click does fire when AllowCellSelection=.F. so look why your code doesn't work properly.
>Then:
>
>LOCAL lcMsg as Character
>
>TEXT TO lcMsg NOSHOW TEXTMERGE
>DO you really want to delete this message:
><<cc1.notes>>
>
>ENDTEXT
>IF thisform.AllowDiaryDelete AND MESSAGEBOX(lcMsg,4+32+4096,"Delete Message",20000)=6
> WAIT WINDOW NOWAIT " Deleting Diary "+TRANSFORM(cc1.diary_id)
>ENDIF
>
>
>should display the wait window when the grid is dblclicked
>It works when i double click on a non record part of the grid
>But in order to delete a record one would double click ON THE RECORD to be deleted, intuitivley?
>
>I guess allowcellselection needs to be true for this to work
>BUMMER
>
>
--sb--