Drop-down menu for user commands

Drop-down menu for user commands

jingying_1213
Advocate Advocate
513 Views
4 Replies
Message 1 of 5

Drop-down menu for user commands

jingying_1213
Advocate
Advocate

Hi Experts,

 

I have some macros and put them on the "User Commands". See below, it takes up a lot of space. Can I put them together with a drop-down menu? Just like the last screen shot, only show one the "User Commands" and others are collected?

 

Thanks!

 

jingying_1213_0-1673068710711.png

 

jingying_1213_1-1673068929236.png

 

 

Accepted solutions (2)
514 Views
4 Replies
Replies (4)
Message 2 of 5

jaimin.ja.3
Enthusiast
Enthusiast
Accepted solution

Right now, there is no option to do that, but i have idea try that and let me know that the solution is suitable for you or not.

 

1. Make External Rules

2. Make "Global Forms" and add all your external rules in those forms (I have attached the picture)

3. Make Another External rule for launch the "Global Forms" (you can also make logo for this external rule and add it on the ribbon as you already done in yours)

 

here is the code for the Lauch the Global Form

iLogicForm.ShowGlobal("LIST OF EXTERNAL RULES")

 

Message 3 of 5

A.Acheson
Mentor
Mentor
Accepted solution

This isn't possible with inventor tools manually.  It is  possible by code with a dedicated addin but that likely is a difficult task and not worth the time. Here is the link to an article and another showing a sample in helpfiles and you can always ask the question on the vba/ilogic forum. Someone may have a plug and play addin or point to one in the app store. 

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 4 of 5

jingying_1213
Advocate
Advocate

This is a very good idea and I have adjusted per your suggestion!

Thanks!

Message 5 of 5

jingying_1213
Advocate
Advocate

Thanks for the information you have provided. I agree with you - it is not worth wasting time to do this. However, I used the way that @jaimin.ja.3 provided.