Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Different keyboard types for newTextBox?
Started by dooq Jul 03 2018 11:19 AM

1 reply to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dooq

[GLOBAL: userInfoPane.html]
dooq
  • Enthusiast

  • 39 posts
  • Corona SDK

I see in the docs that for the TextField widget you can set different keyboard types, including a "url" type and the native iOS types like "UIKeyboardTypeTwitter". Cool.
 
I am looking for the same feature in the multi-line newTextBox widget. Specifically I'd love to have the hashtag # key easily accesable to promote social posting with hashtags.
 

I tried:

textBox = native.newTextBox( display.contentCenterX, 140, display.contentWidth*.8, 64 )
textBox.inputType = "UIKeyboardTypeTwitter"
but it didn't work. Any way of getting the # hashtag keyboard showing up for newTextBox widget?


[TOPIC: post.html]
#2

dooq

[GLOBAL: userInfoPane.html]
dooq
  • Enthusiast

  • 39 posts
  • Corona SDK


[topic_controls]
[/topic_controls]