Problem with Entry

How can I use the Text (string) from a fyne entry?

Here is some code. I’d lie to use the Input string.

Please help me. Thanks.

func ProductKeyFieldCheck() (CheckProductKeyEntry fyne.Widget, text string) {
CheckProductKeyEntry = widget.NewEntry()
CheckProductKeyEntry.SetPlaceHolder("")
CheckProductKeyEntry.Resize(fyne.NewSize(400, 30))
CheckProductKeyEntry.Move(fyne.NewPos(40, 100))
text := CheckProductKeyEntry.SelectedText()
return CheckProductKeyEntry, text

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.