• Keine Ergebnisse gefunden

Application options

Im Dokument or an (Seite 98-101)

Application options control how your application looks.

Multiple Document Interface sets the style of y'our application to follow the Multiple Document Interface (MOl) model. .

Single Document Interface sets the style of your application to follow the Single Document Interface (SOl) model.

DocumentlView determines whether your application supports the Document/View model for handling application objects. The "document"

is the data and the "view" is the user interface to the data. In a

Document/View model, these two are separate (see the Object Windows Programmer's Guide for more information on Document/View). You can use this option with either SOl or MOl applications.

ApplicationlBasic Options

Applicationl Advanced Options

86

SpeedBar places a SpeedBar at the top of the main window of your' application.

Status Line places a status line at the bottom of the main window of your application and generates code to display help hints in the status line when menu items are highlighted.

Drag/Drop supports standard Windows drag-and-drop actions.

Printing supports printing-related activities and creates the menus File I Print Setup, Print Preview, and Print.

Basic Options define where generated code is stored and controls Help file support.

Target Name defines the name of the project you want to create as a basis for the default names of other elements in your project (for example, header files,class database,application class, and source files).

Base Directory sets the base directory path from which all of the project directories are located. All paths in the project are relative to this directory.

You can choose a directory by typing it yourself or by selecting it from the Browse dialog box (click the Browse button). The name of this direcfory is passed to the project manager for the new AppExpert target. The default value for the base directory is the directory of the parent node of the project defined in the project manager. If you specify a new directory, AppExpert creates the directory.

Help File Support generates Help source files (.RTF) and a Help project file (.HPJ). The Help project file is added to the Project Manager project and automatically built with the target application. The Help source file contains placeholder text for the menu items in the application.

Help File Name names the help files (.HLP and .HPJ) associated with your application.

Advanced Options control the behavior of your application when it starts running, and its appearance.

Start Up sets the initial state of the application's main window .

• Normal (default) starts in a default size (defined by WS_NORMAL).

• Minimized starts as an icon on the Windows desktop.

• Maximized fills the entire Windows desktop when it starts running.

Control Style determines which type of controls the application uses.

• Windows (default) uses standard Windows controls.

Borland C++ Users Guide

ApplicationlCode Gen Control

Applicationl Admin Options

• BWCC uses the Borland custom control style .

• 3D uses the new three-dimensional Windows controls.

Code Gen Control options name various aspects of the code-generation process and determine where the generated code is stored.

Target Name displays the name of the project as defined in Basic Options I Target.

Base Directory displays the base directory for the project as defined in Basic Options I Base Directory. \

Source Directory specifies the

directof~

where the source files for the application are stored. This path is relative to the directory specified as the Base Directory. If an absolute path is specified, it is converted to a path relative to the Base Directory (you can't specify another drive). You can choose a directory by typing it yourself or by selecting one (click the Browse button). The default value for the Source Path is //. \ //.

Header Directory specifies the directory where the header files for the application are stored. This path is relative to the directory specified as the Base Directory. If an absolute path is specified, it is converted to a path relative to the Base Directory (you can't specify another drive). You can choose a directory by typing it yourself or by selecting one (click the Browse button). The default value for the Header Path is //.\//.

Main Source File names the main application source file.

Main Header File names the main application header file.

Application Class names the class that AppExpert derives from T Application. The default class name is based on the project name.

About Dialog Class names the class that AppExpert derives from TDialog.

The default class name is based·on the project name.

Comments documents the generated code partially (terse) or fully (verbose).

Admin Options identify information placed in a comment block at the beginning of all the files generated forJhe project. Some of the information is displayed in the application's Help I About dialog box.

Version Number sets the project version number that displays in the Help I About dialog box (the default version number is //1.0"). This information is stored in the .RC file for your project.

Copyright defines the copyright information that displays in the Help I About dialog box.

Description describes the application and displays the text in the

application's Help I About dialog box. The default value is the name of the project.

Author names the programmers who generate the source code and is used to comment the generated code.

Company names the programmers' company and is used to comment the generated code.

Im Dokument or an (Seite 98-101)