TMyComboBox=class(TStringGrid)
 private
   FEdit:TTestCombobox;
 protected
   procedure OnSelectCell(Sender: TObject; ACol, ARow: Longint;
    var CanSelect: Boolean);override;
这样写为什么会错。
报错:Method 'OnSelectCell' not found in base class