Visual Components

Delphi 8 for .NET provides a set of visual components, or controls, that you can use to build your applications. In addition to the common controls such as buttons, text boxes, radio buttons, and check boxes, you can also find grid controls, scroll bars, spinners, calendar objects, a full-featured menu designer, and more. There is, however, a major difference in the way these controls are represented as opposed to the way visual components are represented by other frameworks, such as the .NET Framework.

In the Code Editor of Delphi 8 for .NET you will not see a code representation of your visual components. In IDEs for other languages, such as C# or Java, it is common to see code-centric representations of forms and other visual components. These representations include physical definitions, such as size, height, and other properties, as well as constructors and destructors for the components.

Delphi 8 for .NET is a resource-centric type of system, which means that the primary code-behind representations are of event handlers that you fill in with your program logic. Visual components are declared and defined in textual files, given the extension of .dfm (for Delphi Forms) or .nfm (for Delphi 8 for .NET forms). The .nfm files are created by Delphi 8 for .NET as you design your VCL Forms on the Forms Designer, and are listed in the resource list in the Project Manager for the given project.

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment