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.

Example...

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

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

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

J?rgen Aase