Jump to content

Recommended Posts

Posted

How would I go about adding an alarm when a recipe is selected it will set that alarm off but also say which recipe was selected in the process when looking at the alarm viewer.

Posted

What I do is adding a button "Enable" and "Disable" beside the RecipeViewer in a dialog box.
You can select the recipe in the RecipeViewer and push the button "Enable" to confirm the selection.
Your "Enable" button must have a event calling subroutine like this :

Sub EventEnable
	RecipeEnabled = True
	WriteRecipeToController(RecipeViewerSelector.SelectedTemplate, RecipeViewerSelector.SelectedRecipe)
End Sub

Sub EventDisable
	RecipeEnabled = False
End Sub

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...