Capturing keyboard input

anaylor01

Well-Known Member
Licensed User
Longtime User
I want to capture keyboard input and put the text on a canvas. When the user clicks a button I want to open the keyboard and then capture what they type and put that on the canvas. Can this be done? If so is there an example somewhere? I am getting a signature does not match expected signature error.
 

anaylor01

Well-Known Member
Licensed User
Longtime User
Oh. So I can set the left of the edittext box to screenwidth + 10? That's cool I didn't know you could do that.
I thought I deleted that part about the error. I figured it out. Thanks Erel.
 
Upvote 0

anaylor01

Well-Known Member
Licensed User
Longtime User
Ok. I use request focus and it puts the cursor in the edittext box but it doesn't bring up the keyboard. Am I doing something wrong?

B4X:
Sub btnText_click
edtblank.RequestFocus
End Sub
 
Upvote 0

anaylor01

Well-Known Member
Licensed User
Longtime User
I put the code in the textchanged event but it doesn't put it on the screen until I press the Done button. I want it to show each letter as it is typed.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…