delphi-shortcut to implement interface method and abstract method from ancestor interface or class -
i have example code this
iexample=interface procedure test; end; tbaseclass=class function check:boolean;abstract; end; texampleobject=class(tinterfacedobject,iexample) end; tanotherobject=class(tbaseclass) end;
my question is, how can implement interface method , abstract method ancestor?
i use visual studio , c#, simple make implementation abstract method , interface method, right click on class, , implement method.
does rad studio xe2 have similiar tool or third party tool have same function? because annoying if must write down abstract , interface method manually
i suppose there ide plugins out there offer functionality want.
i use method every day:
copy methods interface public section of class, set cursor on 1 of these methods , execute shortcut ctrl-shift-c. delphi automagically create functions/procedures in implementation section you!
this works classes...
Comments
Post a Comment