p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer (http://p2p.wrox.com/forumdisplay.php?f=574)
-   -   Lesson 8, Ex 3 (http://p2p.wrox.com/showthread.php?t=90246)

John S May 31st, 2013 11:05 PM

Lesson 8, Ex 3
 
No idea how to do this, or even what it is we're supposed to be doing:

"... set the corresponding menu items' IMAGE properties to the special value NULL.."

What are the "corresponding menus" ? the menus in the context menu and toolbar?

Are you saying that selecting one button in one menu should prevent a corresponding button in another menu from displaying a sample??

Rod Stephens June 1st, 2013 11:28 AM

Quote:

"... set the corresponding menu items' IMAGE properties to the special value NULL.."

What are the "corresponding menus" ? the menus in the context menu and toolbar?
For example, suppose the user selects the Text Color menu item to open the color selection dialog, picks orange, and clicks OK on the dialog. Then the program should set the Text Color menu's Image property to null so that menu item doesn't display any color sample. (Because displaying an orange color sample hasn't been covered yet. Unfortunately general drawing like making a color sample of an arbitrary color isn't covered until lesson 39, I think.)

Similarly if the user picks a color for the Background Color menu item, set that item's Image property to null.


All times are GMT -4. The time now is 05:09 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.