Create a RecipePlus button

Use the
RecipePlus
button to initiate RecipePlus operations at runtime. Each button can perform one of the following operations:
  • Download
    writes the ingredient values in the data set of the recipe unit currently selected in the selector object to the tags in the unit's tag set
  • Upload
    reads the tag values in the tag set of the recipe unit currently selected in the selector object and saves those values to the unit's data set
  • Upload and create
    reads the tag values in the tag set of the unit currently selected in the selector object and creates a new recipe unit by writing those values to a new data set
  • Save
    saves the values in a recipe table object to a recipe file
  • Restore
    loads the values from a recipe unit to a recipe table object
  • Delete
    deletes the recipe unit currently selected in the selector object
  • Rename
    renames the recipe unit currently selected in the selector object
The buttons work with the RecipePlus selector object and the RecipePlus table object. Download, upload, upload and create, delete, and rename operations work on the recipe currently selected in the selector. Restore and save operations work with the RecipePlus table object.
Create a separate button on the graphic display for each operation.
TIP:
If a display containing a RecipePlus table is closed while the recipe system is restoring a recipe, the restore operation will be canceled.
To create a RecipePlus button object
  1. In the
    Graphics
    editor, select
    Objects > RecipePlus > RecipePlus Button
    or drag RecipePlus Button from the toolbox.
  2. Drag the mouse to draw and position a rectangle of the general size and in the general location that you want the button to be.
  3. Double-click the button to open its
    Properties
    dialog box.
  4. In the
    Properties
    tabs, specify:
    • How the button looks
    • Whether it beeps when pressed
    • What action it will perform
    • The caption or image to use on the button
    • Its common properties
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal