whats new ¦  programming tips ¦  indy articles ¦  intraweb articles ¦  informations ¦  links ¦  interviews
 misc ¦  tutorials ¦  Add&Win Game

Tips (1541)

Database (90)
Files (137)
Forms (107)
Graphic (114)
IDE (21)
Indy (5)
Internet / LAN (130)
IntraWeb (0)
Math (76)
Misc (126)
Multimedia (45)
Objects/
ActiveX (51)

OpenTools API (3)
Printing (35)
Strings (83)
System (266)
VCL (242)

Top15

Tips sort by
component


Search Tip

Add new Tip

Add&Win Game

Advertising

34 Visitors Online


 
...automatically create the implementation declarations?
Autor: Thomas Stutz
[ Print tip ]  

Tip Rating (9):  
     


{
  If you have Delphi 4 Professional or Client/Server or a newer Version,
  you can use the key combination Ctrl+Shift+C
  to have Delphi automatically create the implementation declarations
  for methods you declare in the interface section.

  Ab Delphi 4 Prof, Client/Server kann man mit der Strg+Shift+C Tastenkombination
  automatisch die Implementation Deklaration erstellen für Methoden,
  welche man in der Interface Sektion deklariert.

  So if you add this to the interface section,
  Wenn man z.B das in die Interface Sektion schreibt,
}


  
procedure YourProcedure(SomeParameter: string);

{
  ...Delphi will create the following in the implementation section:
  ...generiert Delphi automatisch den Code für die Implementation Sektion:
}

  
procedure TForm1.YourProcedure(SomeParameter: string);
  begin

  end
;


{
  This also works for class declarations like this:
  Dies funktioniert z.B auch für Klassen Deklarationen wie diese:
}

  
type TYourButton = class(TButton)
    property  Height : Integer;
    procedure DoSomething;
  end;



 

Rate this tip:

poor
very good


Copyright © by SwissDelphiCenter.ch
All trademarks are the sole property of their respective owners