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.

NOTE<br />

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

Each time you double-click a button on the Component Palette, a<br />

component is placed on the center of the form <strong>in</strong> the component’s<br />

default size. If you repeatedly double-click the component button,<br />

multiple copies of the component will be placed on the form. Each<br />

component will be placed <strong>in</strong> the center of the form and will be stacked<br />

on top of the previous one. It will appear as if you have a s<strong>in</strong>gle<br />

component, so you may not realize that you have several components<br />

occupy<strong>in</strong>g the same space. If you accidentally place multiple components,<br />

just click on the extra components and delete them from the<br />

form.<br />

The Component Palette Speed Menu<br />

When you place the mouse cursor over the Component Palette and click the right mouse<br />

button, you will see a speed menu specific to the Component Palette. (See Figure 6.5.)<br />

Figure 6.5.<br />

The Component<br />

Palette speed menu.<br />

The Show H<strong>in</strong>ts item toggles the tool tips on and off for the component buttons. Unless you<br />

really dislike tool tips, this should be left on. The Hide item on the speed menu hides the<br />

Component Palette. In order to show the Component Palette aga<strong>in</strong>, you will have to choose<br />

View | Component Palette from the ma<strong>in</strong> menu. The Help item on the speed menu br<strong>in</strong>gs<br />

up <strong>C++</strong>Builder help with the Component Palette page displayed. The Properties item br<strong>in</strong>gs<br />

up the Palette page of the Environment Options dialog box, where you can customize the<br />

Component Palette. Here you can add and remove pages of the Component Palette. You can<br />

also add, remove, or rearrange the order of components on the <strong>in</strong>dividual pages. I’ll discuss<br />

this <strong>in</strong> more detail on Day 10, when we look at sett<strong>in</strong>g the environment options.<br />

Navigat<strong>in</strong>g the Component Palette<br />

As mentioned earlier, you can drag the siz<strong>in</strong>g bar, located between the toolbar and the<br />

Component Palette, to make the Component Palette occupy more or less room on the<br />

<strong>C++</strong>Builder ma<strong>in</strong> w<strong>in</strong>dow. If the Component Palette is sized small enough so that it cannot<br />

display all its tabs, you will see scroll buttons <strong>in</strong> the upper-right corner of the Component<br />

179<br />

6

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

Saved successfully!

Ooh no, something went wrong!