New metods in components problem lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- luigisic · 2008-12-18 14:18 Hi, I have tried to implement two metod in a TFieldDatalink descendant. Because this metod are not present in TFieldDatalink I try to implement in TFieldDatalink ancestor TDatalink. In Public section of TDatalink I put this two metod declared: Quotefunction ExecuteAction(Action: TBasicAction): Boolean; dynamic;     function UpdateAction(Action: TBasicAction): Boolean; dynamic; The result, inexplicably, a compile error in rebuild of Lazarus: Quoteidentifier idents no member "ExecuteAction" in descendant of TFieldDatalink. Inexplicably, because if I try to write TFieldDatalink. in code completition was "ExecuteAction(Action: TBasicAction)" I try to implement same metod in class TFieldDatalink and the error is: QuoteThere is no method in an ancestor class to be overridden: "TFieldDataLink.ExecuteAction(TBasicAction):Boolean;" Yes, without a parameter "Action:", only Type of parameter TBasicAction. :shock: There is a mistake that i not understand. I derived classes well a lot of time with Delphi without a problem but with Lazarus are a mistery  :shock: Can anyone help me, please. I discouraged to use Lazarus. It becomes like me but I do not understand how to work it. Thanks. ---------------------------------------------------------------------- felipemdc · 2008-12-18 19:08 Your code is not sufficient to draw any conclusions. Post the full unit.