Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
I have never used pro toolkit, but looking at the logic of the code, on one line you have "PRO_B_TRUE, PRO_B_TRUE". Does this mean to show the second button twice? If it does, then maYbe that line should read "PRO_B_FALSE, PRO_B_TRUE".
I might be late... Check your text file.. that's where it grabs the real text shown for the button... I guess you did copy paste whitout changing the text.
Try a different cmd_id variable for each call. Decalare a 2nd one called cmd_id1 and use it in your 2nd call. See example. Also, be sure the text in the menu file is correct for button2.
status=ProMenubarmenuPushbuttonAdd ("UserMenu", "Button2", <?:NAMESPACE PREFIX = O /><O></O>
"USER -Button2", "USER New Button help1.", "Button1", PRO_B_TRUE, <O></O>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.