Author Topic: RecipeSelect text selection  (Read 1211 times)

fpappas

  • Newbie
  • *
  • Posts: 7
    • View Profile
RecipeSelect text selection
« on: July 07, 2020, 10:34:37 AM »
Is there a way to retrieve the recipe selected item text from a RecipeSelectButton after a selection is made?

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: RecipeSelect text selection
« Reply #1 on: July 07, 2020, 07:33:05 PM »
You would just get the RecipeButton1.Text property value.

In this example, it displays it in a label when the button is clicked:

Code: [Select]
    Private Sub RecipeButton1_Click(sender As Object, e As EventArgs) Handles RecipeButton1.Click
        Me.Label9.Text = Me.RecipeButton1.Text
    End Sub


fpappas

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: RecipeSelect text selection
« Reply #2 on: July 07, 2020, 09:38:50 PM »
I am using the newer RecipeSelectButton that displays all the recipe names in a grid, you then touch/select the recipe name you want to load. There doesn’t appear to be a text property for it.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: RecipeSelect text selection
« Reply #3 on: July 07, 2020, 10:41:30 PM »