打印本文 打印本文 关闭窗口 关闭窗口
2004.11.28.Tour of the IDE
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3708  更新时间:2009/4/23 18:29:21  文章录入:mintao  责任编辑:mintao
Delphi for .NET Projects Windows Forms Application.

ASP.NET Web Forms

Use ASP.NET Web Forms to create applications that can be accessed from any Web browser on any platform. You use the .NET classes to create an ASP.NET Web Forms application. The form consists of the visual representation of the HTML, the actual HTML, and a code-behind file. To access an ASP.NET Web Form, choose File New Other Delphi for .NET Projects ASP.NET Web Application.

VCL Forms

Use VCL Forms to create applications that use VCL.NET components to run in the .NET Framework. You use the Borland Visual Component Library for .NET classes to create a VCL Forms application. VCL Forms are especially useful if you want to port an existing Delphi application containing VCL controls to the .NET environment or if you are already familiar with the VCL and prefer to use it. To access a VCL Forms, choose File New Other Delphi for .NET Projects VCL Forms Application.

HTML Designer

Use the HTML Designer to view and edit ASP.NET Web Forms or HTML pages. This Designer provides a Tag Editor for editing HTML tags alongside the visual representation of the form or page. You can also use the Object Inspector to edit properties of the visible items on the HTML page and to display the properties of any current HTML tag in the Tag Editor. A combo box located above the Tag Editor lets you display and edit SCRIPT tags. To create a new HTML file, choose File New Other Web Documents HTML Page. Designer Surface The Designer surface, or Designer, is displayed automatically when you are using a form. The appearance and functionality of the Designer depends on the type of form you are using. For example, if you are using an ASP.NET Web Form, the Designer will display an HTML tag editor. To access the Designer, click the Design tab at the bottom of the IDE.

Visual Components

Visual components appear on the form at design-time and are visible to the end user at runtime. They include such things as buttons, labels, toolbars, and listboxes.

Nonvisual Components and the Component Tray

Nonvisual components are attached to the form, but they are only visible at design-time; they are not visible to end users at runtime. You can use nonvisual components as a way to reuse groups of database and system objects or isolate the parts of your application that handle database connectivity and business rules. When you add an nonvisual component to a form, they are displayed in the component tray at the bottom of the Designer surface. The component tray lets you distinguish between visual and nonvisual components.

Tool Palette

The Tool Palette contains items to help you develop your application. The items displayed depend on the current view. For example, if you are viewing a form on the Designer, the Tool Palette displays components that are appropriate for that form. You can double-click a control to add it to your form. If you are viewing code in the Code Editor, the Tool Palette displays code snippets that you can add to your code.

Customized Components

In addition to the components that are installed with Delphi 2005, you can add customized or third party components to the Tool Palette and save them in their own category. Component Templates

You can create templates that are made up of one or more components. After arranging components on a form,

上一页  [1] [2] [3] [4]  下一页

打印本文 打印本文 关闭窗口 关闭窗口