Taifun.Textbox1.EnterPressed

Hello.
I'm trying to use Taifun.Textbox1.EnterPressed, but it doesn't work for me .... The extension is in the environment ... Is the block good?
Ondrej

Have you enabled start listener for textbox ? Also note that this doesn't work for multiline textboxes

image

1 Like

Hello Ondrej

You are using a Math comparison but the component ID is not necessarily a number. Try the text comparison block 'compare texts'.

1 Like

Hello.
I'm making a mistake with this block
com.google.appinventor.components.runtime.TextBox@e6c6575
Ondrej

Hello Ondrej

A bit confused by your last post :upside_down_face: Have you got it working now?

Edit: Actually, we can't use a text comparison, it must be a logic comparison:

blocks

1 Like

It gives this error (in Appinventor)
resim

@Taifun

Working OK here:

image

Is your companion app up to date ? (2.71/2.71u)

Mine was 2.70. I updated it. But still same error.

Simplify, as with my blocks ?

Yes, you are right. After Simplifying, It goes now.
But, what was the error, i must use it with the other blocks.

Try a sample project with just the blocks I show above. Still a problem? If not, something else going on in your app. Other extensions ?

Yes, lot of extensions and some of them gives also errors. I think, i must try themself for each.
Thank you for your kindly guidance