SteveMyres Posted August 5, 2010 Share Posted August 5, 2010 Is there a way to define the right-click menu for elements, adding our own items and possibly deleting native ones? If not, please consider that a feature request. Link to comment Share on other sites More sharing options...
AzeoTech Posted August 5, 2010 Share Posted August 5, 2010 You can't remove the predefined elements, but you can add your own by right clicking on a component (or group of components) and selecting "Create User Component..." This creates a file in your DAQFactory directory with this new component. Note that when you use this new component, it creates a copy, so changes to the user component won't affect existing components of the same type, and you don't need to include that file with any .ctl documents you ship. Link to comment Share on other sites More sharing options...
SteveMyres Posted August 5, 2010 Author Share Posted August 5, 2010 Sorry, I wasn't talking about adding and removing component types, but entries in the right click menu itself. In my current project for example, I have several mixing/blending tanks where products are built up from recipes of components and then heated and mixed to create an intermediate product which gets pumped to another machine for further processing. I'd like to give the user the capability to right click on the tank, and have options for viewing current status, loading a new recipe, a screen that they view while adding the recipe components, and so on. Link to comment Share on other sites More sharing options...
SteveMyres Posted August 13, 2010 Author Share Posted August 13, 2010 I don't think this question ever really got answered. Link to comment Share on other sites More sharing options...
AzeoTech Posted August 13, 2010 Share Posted August 13, 2010 Sorry, thought it did. The answer is no. You might be able to rig something up using one of the system events and a popup, but it won't look anything like a typical right-click menu. Link to comment Share on other sites More sharing options...
SteveMyres Posted August 13, 2010 Author Share Posted August 13, 2010 Ah, OK. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.