Forum Discussion
- hogueybearOccasional Contributor
I'm not sure exactly what you are asking here, but here are a couple of ways you can deal with SwingPopupMenu's, that should help get you started.
Assume
menu = someObj.SwingPopupMenu;
Then you can get the number of items in the menu
menu.count;
And you can traverse the menu
for (i = 0; i < menu.count; i++) { Log.Message("Menu choice - " + menu.items(i).Caption); }