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 10.6.<br />

The Project Explorer<br />

speed menu.<br />

NOTE<br />

More on Projects<br />

Just highlight<strong>in</strong>g (select<strong>in</strong>g) the control <strong>in</strong> the Project Explorer tree is<br />

not the same as select<strong>in</strong>g it us<strong>in</strong>g the Select command. If you want the<br />

component to be displayed <strong>in</strong> the Object Inspector, you must first<br />

select the component <strong>in</strong> the Project Explorer tree and then choose<br />

Select from the speed menu.<br />

Edit<br />

The Edit speed menu item allows you to edit the object selected. If the object is a source file,<br />

choos<strong>in</strong>g the Edit menu item will result <strong>in</strong> the Code Editor be<strong>in</strong>g displayed with the selected<br />

file loaded. If the object selected <strong>in</strong> the Project Explorer w<strong>in</strong>dow is a form, the Form Designer<br />

comes to the top with the selected form displayed. If the object selected is a component on<br />

a form, the Form Designer is displayed, and the object is selected <strong>in</strong> the Form Designer as<br />

if you had clicked it with the mouse. In the case of forms and components, the Object<br />

Inspector changes to show the object selected.<br />

Rename<br />

The Rename menu item allows you to change the Name property of a form or a control from<br />

the Project Explorer. To change the name of a component, for example, first select the<br />

component <strong>in</strong> the Project Explorer w<strong>in</strong>dow and then choose Rename from the speed menu.<br />

You can then type a new name for the component. As when chang<strong>in</strong>g the Name property <strong>in</strong><br />

the Object Inspector, the change is immediately reflected throughout your program’s source<br />

code.<br />

361<br />

10

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

Saved successfully!

Ooh no, something went wrong!