Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing VCL units on Delphi 1

Status
Not open for further replies.

13BB

Programmer
Nov 15, 2008
2
GB
Hi there,
I'm programming in Delphi using the CodeGear RAD studio, and I've just learnt the basics of this language. I've just been practicing making VCL Application Forms, with VCL features such as buttons, scroll bars, etc. From what I understand these are VCL components, and there is a hierarchy involved to define these classes, such as:
TObject, TControls, TButtons.
Apparently they are all defined in unit files such as:
System, Classes, Controls, etc

In Codegear RAD Studio I can open and edit the unit files that I have created, such as Unit1 for Project1, but how can I open the unit files such as System, Classes, Controls?

I appreciate your help

Many thanks
Ivan
 
if you have the source then by holding ctrl and clicking System, Classes, Controls, in the uses section will open the associated source file.

Aaron
 
You can also hold Control and click a type reference or method, eg.
Code:
MyList := TStringList.Create;

clicking either TStringList or Create in the code example will open the containing VCL unit and jump to the declaration.

Also helpful - pressing Ctrl+Shift+Down or Ctrl+Shift+Up will jump from a class declaration to the method code and vice versa.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top