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.

Figure 6.20.<br />

The Project Options<br />

dialog box.<br />

The <strong>C++</strong>Builder IDE Explored: Projects and Forms<br />

Now run the program aga<strong>in</strong>. This time the blank MDI child is not displayed.<br />

WARNING<br />

Summary<br />

If you remove a form from the auto-create list, you must be sure to<br />

specifically create the form before us<strong>in</strong>g it. If you do not create the<br />

form, the po<strong>in</strong>ter to the form is un<strong>in</strong>itialized, and attempt<strong>in</strong>g to use the<br />

po<strong>in</strong>ter will result <strong>in</strong> an access violation or erratic program behavior.<br />

Once you remove a form from the auto-create list, it is your responsibility<br />

to make sure the form has been created before us<strong>in</strong>g it.<br />

The <strong>C++</strong>Builder IDE can be <strong>in</strong>timidat<strong>in</strong>g until you become familiar with it. If you learn it<br />

a little at a time, it’s not nearly so daunt<strong>in</strong>g. Today you learned about how projects are used<br />

to create an executable file. You also learned more about forms. You found out how<br />

<strong>C++</strong>Builder deals with dialog boxes and other child w<strong>in</strong>dows. After that you got to create a<br />

program that actually does someth<strong>in</strong>g <strong>in</strong>terest<strong>in</strong>g. F<strong>in</strong>ally, you ended up with a look at the<br />

<strong>C++</strong>Builder Object Inspector. Tomorrow we’ll go after the Form Designer and the Menu<br />

Designer.<br />

Workshop<br />

The Workshop conta<strong>in</strong>s quiz questions to help you solidify your understand<strong>in</strong>g of the<br />

material covered and exercises to provide you with experience <strong>in</strong> us<strong>in</strong>g what you have learned.<br />

You can f<strong>in</strong>d answers to the quiz questions <strong>in</strong> Appendix A, “Answers to Quiz Questions.”<br />

213<br />

6

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

Saved successfully!

Ooh no, something went wrong!