Overriding static methods...

Is there a way round overriding static methods in Delphi.

I'm building a TDBGrid component and would like to have more control
over when ShowEditor is called. This method is static and is declared as
static in TCustomGrid i think.


procedure TMyDBGrid.OnShowEditor(var CanEdit: Boolean);
   if DataSet.FieldByName('Type'.AsString) = 'A' then
        CanEdit := true
   else CanEdit := false;

... the OnShoeEditor wil then call the inherited method if CanEdit is

Is there win API message for trapping this - like WM_EDIT or something
which puts the grid in edit mode??

J?rgen Aase