On Feb 13, 2006, at 11:47 AM, Charles Yeomans wrote:
If you're wanting to add CM capability to a Listbox, then I think
it would be preferable to implement these events. If you have
several reusable menus, then I'd suggest writing a MenuItem
subclass for each of your contextual menus. Then you can just
create an instance of the appropriate menu as needed.
Then I take it that the recommended course of action is as follows:
[1] Create MenuItem objects at the Project-level; each MenuItem to be
a separate ContextualMenu inside of the ListBox.
[2] Create methods inside of the Window where the ListBox is located
to build the respective CMs.
[3] When the window holding the listbox and the CMs opens, then the
methods (item #2, above) are called from inside the
ConstructContextualMenu action of the ListBox to build the CMs.
In this manner I can access these tags?
What's the call to access the tags? There is not example in the
LangRef that I've found.
Regards,
Chuck
_______________________________________________
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>