*Experts* Volte Posted September 6, 2002 *Experts* Posted September 6, 2002 Alright, I'm a relative newbie to .NET, but I'm picking it up fairly fast. I have created an Ownerdrawn menu that has the XP style (it's duplicated pretty precisely I think). The problem is that right now, all the items have the same icon (for testing). I thought about using a collection of Image objects to specify which menu bitmap goes where (with the MenuItem name as the key). One problem: I can't figure out how to get the name of it in code. There's no 'Name' property. in the Intellisense. I'm probably missing something simple. :-\ Quote
*Gurus* Derek Stone Posted September 7, 2002 *Gurus* Posted September 7, 2002 Object.ToString() Quote Posting Guidelines
*Experts* Volte Posted September 7, 2002 Author *Experts* Posted September 7, 2002 In the Debug.Write window, that returns this:System.Windows.Forms.MenuItem, Items.Count: 8, Text: Testing 1 2But no name. :-\ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.