Nadya,
This is a pretty classic example of a bad thing. There's either a problem with the grandparentclass or the parentclass design. It's more appropriate to fix that problem than workaround it. If you call the parentclass and it has a dodefault() the grandparentclass code will execute.
If you now need conditional behavior use a property setting that your subclass can change.
>In a grid AfterRowColChange I have some custom code, when I invoke
>its parent code with dodefault(nColIndex). This grid is based on Highlighted grid, so this code does highlighting. I've just checked our wggrid class and found out, that it has this code:
>
>LPARAMETERS nColIndex
>*--------------------------------------------------------------------------
>* -- NSL 2/29/00 Per request of Nadya
>* -- Added the check for the existance of the hasnavstand property first
>* -- Nadya must be using this grid on a non-WG form.
>*--------------------------------------------------------------------------
>IF pemstatus(thisform,'hasnavstand',5) and thisform.hasnavstand
> thisform.navstand.navupdate()
>ENDIF
>
>I don't want to execute this code. How can I achieve it?