Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Interface IDE ShortCut

Posted on 2007-03-26
2
Medium Priority
?
220 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 500 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Loops Section Overview

971 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