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.

NOTE<br />

Creat<strong>in</strong>g Applications <strong>in</strong> <strong>C++</strong>Builder<br />

Pages two and three will be displayed only if you had previously<br />

selected menus on page one of the Application Wizard. More specifically,<br />

page two will be displayed only if you selected a File menu on<br />

page one.<br />

Page Three: Sett<strong>in</strong>g Up the Speedbar<br />

Page three of the Application Wizard aids you <strong>in</strong> sett<strong>in</strong>g up a speedbar for your application.<br />

This is possibly the most useful feature of the Application Wizard (not that the other features<br />

aren’t useful). You can quickly lay out your speedbar us<strong>in</strong>g this page. Figure 9.10 shows the<br />

third page of the Application Wizard after a speedbar has been created.<br />

Figure 9.10.<br />

Sett<strong>in</strong>g up the<br />

speedbar.<br />

NOTE<br />

The list box on the left side of the page, labeled Menus, shows the four menus for which you<br />

can add buttons. When you choose one of the menus, the available buttons for that menu<br />

are displayed <strong>in</strong> the list box to the right of the Menus list box (labeled Available commands).<br />

To add a speedbar button, click the button <strong>in</strong> the Available Commands list box and then click<br />

the Insert button. The button will be added to the sample speedbar at the top of the page.<br />

The Space button can be used to add a separator to the speedbar. Add<strong>in</strong>g separators visually<br />

dist<strong>in</strong>guishes groups of buttons. Cont<strong>in</strong>ue to add buttons and spaces as needed until the<br />

speedbar is complete. If you decide to remove a button, just click it <strong>in</strong> the sample speedbar<br />

and then click the Remove button.<br />

If you elected not to add a particular menu to your application, no<br />

buttons will be shown for that menu group. For <strong>in</strong>stance, if you did<br />

not add a W<strong>in</strong>dow menu, the Available Commands list box will be<br />

empty when you click on the W<strong>in</strong>dow item <strong>in</strong> the Menus list box.<br />

333<br />

9

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

Saved successfully!

Ooh no, something went wrong!