>
>>With a subclassed grid on a form is there any way to include some code in the grid class so that I don't have to explicitly call refresh and setfocus in my "add" and "delete" buttons?
>>
>>1. Thisform.Refresh >
>Would _Screen.ActiveForm.Refresh() in the Click() of my navbutton class do the same thing?
If there is an activeform, yes.
But for forms with grids on them thisform.refresh might not be desired (and/or provide the wanted effect. It might cause an unwanted record pointer movement (ie: there are realted tables, refreshing parent moves the pointer to the first matching record in child. When child grid has focus refresh might not result in a proper refresh-you don't see what you expected to see. Deleted records do not refresh well with this method. SQL rowsource grids might not refresh at all depending if they have indexes or not etc). If I were you (but I'm not I know:) I would refresh particular grid(s) instead of form. However with plain single grid forms you might do it fairly well using form refresh.
Cetin