Solved

Interface IDE ShortCut

Posted on 2007-03-26
2
206 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now