12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

318 Day 9<br />

For starters, I’ll spend some time discuss<strong>in</strong>g the Object Repository, which is where<br />

<strong>C++</strong>Builder stores any prebuilt forms or applications for you to reuse. Follow<strong>in</strong>g that<br />

discussion, you will meet the Wizards, which guide you step-by-step through the creation<br />

process. You provide the details, and <strong>C++</strong>Builder builds the form or application based on the<br />

<strong>in</strong>formation you provided. The Wizards are a powerful tool for rapid application development.<br />

F<strong>in</strong>ally, we’ll close the day talk<strong>in</strong>g about how you can use resources <strong>in</strong> your <strong>C++</strong>Builder<br />

applications. So let’s get to it.<br />

Work<strong>in</strong>g with the Object Repository<br />

NOTE<br />

The Object Repository dialog box is the means by which you can select predef<strong>in</strong>ed objects<br />

to use <strong>in</strong> your applications.<br />

The Object Repository is a text file that conta<strong>in</strong>s the <strong>in</strong>formation that<br />

the Object Repository dialog box displays. For the sake of simplicity, I<br />

will refer to the Object Repository dialog box and the repository file<br />

collectively as simply the Object Repository.<br />

The Object Repository allows you to do the follow<strong>in</strong>g:<br />

■ Choose a predef<strong>in</strong>ed application, form, or dialog box to implement <strong>in</strong> your<br />

application<br />

■ Add your own forms, dialog boxes, and applications to the Object Repository<br />

■ Add other objects to your application such as ASCII text files and additional source<br />

code units<br />

■ Manage data modules<br />

■ Create new components<br />

■ Invoke Wizards to help you build a dialog box or an application<br />

Object Repository Pages and Options<br />

The Object Repository is displayed automatically whenever you choose File | New from the<br />

ma<strong>in</strong> menu. Figure 9.1 shows the Object Repository w<strong>in</strong>dow as it <strong>in</strong>itially appears if you<br />

choose File | New with no project open.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!