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.

506 Appendix A<br />

Day 8<br />

Day 9<br />

1. Yes, but it’s a very bad idea.<br />

2. The Enabled property.<br />

3. Its text is grayed out.<br />

4. The long h<strong>in</strong>t is used for the status bar text, and the short h<strong>in</strong>t is used for the tool<br />

tip text.<br />

5. Invalidate(), Repa<strong>in</strong>t(), Refresh(), and Update().<br />

6. Three: simple, drop-down, and drop-down list.<br />

7. When a button with a ModalResult property set to a whole number is clicked, the<br />

form will close. The value of the ModalResult property for the button clicked will<br />

be the return value from the ShowModal() method.<br />

8. The Panel component. Several others qualify, too.<br />

9. true.<br />

10. Change its Title property to Save As.<br />

1. When you want all the features of the base object and you want the <strong>in</strong>herited<br />

object to change if the base object ever changes.<br />

2. Choose Project | Add to Repository from the ma<strong>in</strong> menu or Add Project to<br />

Repository from the Project Manager speed menu.<br />

3. All the <strong>in</strong>herited forms change to reflect the change made to the base form.<br />

4. In the private or public sections. Never <strong>in</strong> the __published section (unless you<br />

know what you are do<strong>in</strong>g).<br />

5. In any source unit, but usually <strong>in</strong> the same unit as the rest of the code for that<br />

form.<br />

6. If you switch to the Details view, the author of the object is listed.<br />

7. In the Object Repository configuration dialog box (which you get by select<strong>in</strong>g<br />

Options | Repository from the ma<strong>in</strong> menu).<br />

8. By us<strong>in</strong>g the Application Expert <strong>in</strong> almost all cases.<br />

9. Add the .res file or the .rc file to the project via the Project Manager, or use the<br />

#pragma resource preprocessor directive.<br />

10. Yes, easily.

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

Saved successfully!

Ooh no, something went wrong!