Solved

Interface IDE ShortCut

Posted on 2007-03-26
2
211 Views
Last Modified: 2013-11-23
When implementing an interface into a class, in Delphi (2006) is there a quick/automatic way of stubbing out the inherited methods?

the quickest way I have found is copy them into the class and pressing Control+shift+C, there has to be a better way, or have I been spoilt by using Eclipse and Jbuilder. :-)

Thanks
g2d
0
Comment
Question by:GTwoD
2 Comments
 
LVL 21

Accepted Solution

by:
ziolko earned 125 total points
ID: 18798568
having this:

TSomeObject = class(TInterfacedObject, ISomeInterface)
protected

end;

you can move your cursor below "protected" and hit Ctrl + space

list of possible methods will pop-up
interface methods that are not yet defined will be top-most-red-highlited
you can select them one-by-one and then hit ctrl + shift + c only once

ziolko.
0
 
LVL 1

Author Comment

by:GTwoD
ID: 18798584
Simple but brilliant
Thanks
g2d
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question