A component that is added to Ignition windows to select recipes in a scrollable list. This is just one method of selecting a recipe for a production line, cell, cell group or location. For more information on the other methods see the Selecting and Downloading Recipes section. The Recipe Selector List component is automatically updated when recipes are added, removed, etc. The current recipe selected is also automatically updated if the recipe changes from a different source.
To select a recipe for a production item, the user can right click on a recipe then select the Select Recipe menu item. To cancel a recipe, right click on the selected recipe then select the Cancel Recipe menu item. This component also supports additional menu item to be added by using the User Menu Items property and the userMenuItemClicked event.
The User Menu Items property allows custom menu items to be added. Custom script can be added to the userMenuItemClicked event handler to add functionality to this component.
Click the icon on the User Menu Items property and add your custom menu items. See the User Menu Item property for help on the dataset columns.
|2||Add your custom script to the userMenuItemItemClicked event handler.|
Properties are provided that can be set to affect the operation and look of the component. They can be set through the Property Editor in the Designer or through scripting.
|Read Only||readOnly||Boolean||If true, then user cannot select or cancel recipes.|
|User Menu Items||userMenuItems||Dataset||Dataset that stores user menu items.|
|Item Path||itemPath||String||Path of the production item.|
|Recipe Name Filter||recipeNameFilter||String||Optionally, limit changelog results to recipe name.|
|Recipe State Filter||recipeStateFilter||String||Optional recipe state filter to limit recipe values shown.|
|Recipe Group Filter||recipeGroupFilter||String||Optional recipe group filter to limit recipe values shown.|
|Selected Recipe Name||selectedRecipeName||String||Name of the currently selected recipe.|
|Show Master Recipes||showMasterRecipes||boolean||If true, shows also master recipes available for a production item.|
|Selected Icon Path||selectedIconPath||String||Relative path of the selected icon image.|
|Icon-Text Spacing||iconTextGap||int||The space (in pixels) between the icon (if any) and the text (if any).|
|Scroll Bar Width||scrollBarWidth||int||Width of the scroll bars. If zero, use the system default scroll bar width.|
|Styles||styles||Dataset||Contains the component's styles.|
This component does not have extension functions associated with it.
This component does not have functions associated with it.
- No labels