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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Gett<strong>in</strong>g Your Feet Wet<br />

are divided <strong>in</strong>to groups. Did you notice the tabs along the top of the Component Palette? Go<br />

ahead and click on the tabs to explore the different components available to you. To place<br />

a component on your form, you simply click the component’s button <strong>in</strong> the Component<br />

Palette and then click on your form where you want the component to appear. Don’t worry<br />

about the fact that you don’t yet know how to use components. We’ll get to that <strong>in</strong> due time.<br />

When you are done explor<strong>in</strong>g, click on the tab labeled Standard, because you’ll need it <strong>in</strong> a<br />

moment.<br />

Figure 1.1.<br />

The <strong>C++</strong>Builder<br />

IDE and the <strong>in</strong>itial<br />

blank form.<br />

NEW TERM<br />

A component is a self-conta<strong>in</strong>ed piece of b<strong>in</strong>ary software that performs some specific<br />

predef<strong>in</strong>ed task, such as a text label, an edit control, or a list box.<br />

Below the speedbar and Component Palette and glued to the left side of the screen is the<br />

Object Inspector. It is through the Object Inspector that you modify a component’s<br />

properties and events. You will use the Object Inspector constantly as you work with<br />

<strong>C++</strong>Builder. The Object Inspector has one or two tabs, depend<strong>in</strong>g on the component<br />

currently selected. It always has a Properties tab. A component’s properties control how the<br />

component operates. For example, chang<strong>in</strong>g the Color property of a component will change<br />

the background color of that component. The list of available properties varies from<br />

component to component, although components usually have several common elements<br />

(Width and Height properties, for <strong>in</strong>stance).<br />

5<br />

1

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

Saved successfully!

Ooh no, something went wrong!