Hi everyone. I hope the thread title is not too confusing, but I couldn't find a better description.
The problem is as follows:
I am currently developing a Top Level App which uses events to handle menu clicks and more. Now during runtime, I would like to add a list of filenames programmatically to a menu item (Open). Basically I should get the following:
File
New
Open
Filename 1
Filename 2
Save
I could already achieve this using the Insert Menu Items VI. Works perfectly.
Now I want to be informed when one of these filenames has been clicked. Therefore I should give Filename1, Filename2 a "item Tag" Property. As I found out, this is absolutely unique, so each different filename throws some event. To be honest, I am going to handle all of these events the same way, therefore I'd like to write a single "frame" which then works with the given file.
So my question is: Which is the right way to achieve this?
Idea 1: Should I use the "Default" Menu Item Selected Handler and question which menu item was pressed manually? But then - which item Tag should I give, since they can change
Thank you