04.08.2013 Views

Chapter 10 Using VFP's Object- Oriented Tools - dFPUG-Portal

Chapter 10 Using VFP's Object- Oriented Tools - dFPUG-Portal

Chapter 10 Using VFP's Object- Oriented Tools - dFPUG-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.

274 The Fundamentals of Visual FoxPro 6.0<br />

Figure <strong>10</strong>.6. You can register a class library using the<br />

Controls tab of the <strong>Tools</strong>, Options dialog.<br />

Attaching a custom icon to a registered class<br />

If you have several forms in the same class library, as you ought to, you’ll see that your toolbar<br />

now has four or five (or a couple dozen!!!) buttons—each with the exact same icon. You don’t<br />

have to settle for this boring panoply of computerdom, however. You can attach a different<br />

toolbar icon of your own choosing to every class in the library. Here’s how:<br />

1. Bring up the Class Designer with this class by issuing the MODIFY CLASS command<br />

or opening the File menu and selecting Open, Class menu. The Class Designer<br />

appears.<br />

2. Select the Class, Class Info menu option.

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

Saved successfully!

Ooh no, something went wrong!