Hi,
I’m new to lua and was wondering if someone could show me how to create a simple text entry box and does this automatically bring up the keyboard?
thanks
Hi,
I’m new to lua and was wondering if someone could show me how to create a simple text entry box and does this automatically bring up the keyboard?
thanks
Hi,
You probably want this one, but I strongly advise you to spend time reading the docs and API references, it’s well worth it
https://docs.coronalabs.com/api/library/native/newTextBox.html
1. Native Text Field
Hi. This is right in the API docs:
See this example:
https://docs.coronalabs.com/api/library/native/newTextField.html#examples
2. Bringing up keyboard. “No”, it doesn’t come up automatically, and this is also in the docs:
While you’re absolutely welcome to ask questions here and I know you’re new, please let me ask. What did you try before asking? i.e. Where did you look?
Some great places to get docs and examples:
Then, there are other great places to look once you get more experience:
Welcome to the community and happy coding.
Please note, in the Corona simulator, you’re running either a Windows desktop app or a macOS desktop app. There isn’t a keyboard to bring up. You won’t see a device type keyboard until you test on an actual device.
Rob
Hi,
You probably want this one, but I strongly advise you to spend time reading the docs and API references, it’s well worth it
https://docs.coronalabs.com/api/library/native/newTextBox.html
1. Native Text Field
Hi. This is right in the API docs:
See this example:
https://docs.coronalabs.com/api/library/native/newTextField.html#examples
2. Bringing up keyboard. “No”, it doesn’t come up automatically, and this is also in the docs:
While you’re absolutely welcome to ask questions here and I know you’re new, please let me ask. What did you try before asking? i.e. Where did you look?
Some great places to get docs and examples:
Then, there are other great places to look once you get more experience:
Welcome to the community and happy coding.
Please note, in the Corona simulator, you’re running either a Windows desktop app or a macOS desktop app. There isn’t a keyboard to bring up. You won’t see a device type keyboard until you test on an actual device.
Rob