Solved

Interface IDE ShortCut

Posted on 2007-03-26
2
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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