At 11:12 AM -0700 2/13/06, Chuck Pelto wrote:

Uh....Was ist das 'tag'?

Where is it referenced in the language reference? I'm not seeing it as a property in the ContextualMenu Control section of the LangRef. Nor in the Control super class, thereof.

When you read the notes of the ContextualMenu control, it points out the preferred method of making a contextual menu: you get a ConstructContextualMenu event, which gets a MenuItem as a parameter. You add to this MenuItem to build your menu, right? I don't know why "MenuItem" isn't a link here in the LR, but it's not, so go to the Location field and type it in. There you will find the Tag property.

Note that the Tag you want to set is the one on each menu item you add, not the top-level one that contains the whole contextual menu.

I think you can't do this if you're actually using a ContextualMenu control, but then, you can't do submenus either, so would guess that's not what you're using anyway.

I'll readily admit that the LR entry on ContextualMenu is painfully confusing and needs to be rewritten by someone with a good understanding of these things.

Best,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to