View Single Post
  #6  
Old 07-29-2015, 12:08 PM
Andy Poulsen Andy Poulsen is offline
Administrator
 
Join Date: Apr 2003
Location: Fort Collins, Colorado
Posts: 273
Re: Open Dialog Position

In working with Mike, we were able to identify and fix the problem.

When trying to specify a position, the function wants a reference widget. In this case, the "TOP-MENU-TOOLBOX-TB" control. The code worked fine in version 17, but not under 18 or 19.

The reason is that this control doesn't exist by default in v18+. We solved the problem by referencing the application itself by using :application rather than a control name.

Perhaps this may be of use to someone else.

Good luck!

andy
__________________
Andy Poulsen
AI MAXTools: Dream. Design. Done. It's that easy!
Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+!
See them in action at www.ai-maxtools.com and then try them for yourself -- FREE!
Reply With Quote