Notifications
Clear all
[Closed] Multiple RCMenus
May 12, 2011 1:37 am
Hi,
I have a dialog with 2 listviews inside.
I want to have a RCMenu appear when I rightclick on each listview. However the catch is, I need different listviews to popup depending on the listview I click.
When I create the dialog, I only seem to get the option to register a single RCMenu.
How do I achieve my goal here?
Thanks,
Rhys
6 Replies
May 12, 2011 1:37 am
Ahh I am an idiot!
I thought the menu had to be registered with the rollout in order to call the popup.
Turns out I can define as many as I want and then just call the popup
Thanks
May 12, 2011 1:37 am
This seems an appropriate place to put this question…
But rather than having, say 4 very similar but different RCMenu's, is there any way to alter a RC menu after creation (alternately, at runtime).
for example, something like
rcmenu testRCMenu(
for itm in itmArray do(
menuItem mnItem_+itm itm
)
)
But it seems there’s very little you can put inside a RCMenu definition?