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.

230 Day 7<br />

Siz<strong>in</strong>g by Dragg<strong>in</strong>g<br />

When you select a control, eight black siz<strong>in</strong>g handles appear around the control. When you<br />

place the mouse cursor over one of the siz<strong>in</strong>g handles, the cursor changes to a black, doubleheaded<br />

arrow known as the siz<strong>in</strong>g cursor. Once you see the siz<strong>in</strong>g cursor, you can beg<strong>in</strong><br />

dragg<strong>in</strong>g to size the control. How the component is sized depends on which of the siz<strong>in</strong>g<br />

handles you grab.<br />

The siz<strong>in</strong>g handles centered on the component at the top and bottom can be used to size the<br />

component vertically (to make the selected control taller or shorter). Likewise, the right and<br />

left siz<strong>in</strong>g handles can be used to size the component horizontally (to make the selected<br />

control wider or narrower). If you grab one of the siz<strong>in</strong>g handles at the corners of the<br />

component, you can size both horizontally and vertically at the same time. As with mov<strong>in</strong>g<br />

a component, a siz<strong>in</strong>g rectangle appears as you drag. When you have the siz<strong>in</strong>g rectangle at<br />

the desired size, let go of the mouse button and the component will be resized. Figure 7.6<br />

illustrates a memo component be<strong>in</strong>g sized by dragg<strong>in</strong>g; Figure 7.7 shows the form after the<br />

drag operation.<br />

Figure 7.6.<br />

A memo component<br />

be<strong>in</strong>g sized.<br />

Figure 7.7.<br />

The form after the<br />

memo component is<br />

sized.<br />

NOTE<br />

Siz<strong>in</strong>g applies to visual components only. A nonvisual component<br />

appears on the form as an icon that cannot be sized. The siz<strong>in</strong>g handles

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

Saved successfully!

Ooh no, something went wrong!