text input/ displaying text

Hello everyone,

I am creating an app in which i need to accept text input and then display this input, plus input received through the network. For the input, the native text field is fine. But when i want to display the text, seeing how it will eventually become a large amount, the native text box will not work for me, the scroll bar is not there and so it will not display everything properly.
does anyone know of another solution, beside the native text box?

thank you,
Amanda [import]uid: 29997 topic_id: 9595 reply_id: 309595[/import]

there are examples in code exchange for scrolling, but afaik no drop in widgets.
ios and android use different native boxes, so its a bit tricky, but by no means impossible to code your own
I dont think corona has this sort of app in mind, but you could place a feature request :slight_smile: [import]uid: 34945 topic_id: 9595 reply_id: 35210[/import]

Well so far what i want to do is just concatenate strings. The basic functionality will be a chat room. The user can post things via the text box and this gets sent over the network, and gets concatenated with the rest of the messages sent by other players and displayed on all the players screens.

I have looked at the scrollview sample code, this works ok i guess, it just doesn’t look very clean, for my purpose anyway. The native text box in android does not scroll, otherwise this would be perfect.

the app i am creating isn’t a typical game, so i expect coding will be a little difficult…i chose corona simply for the small learning curve, as compared to other engines:)

thank you for your response! [import]uid: 29997 topic_id: 9595 reply_id: 35236[/import]

You might be better to use one of the html5->android/iphone wrapper sdk’s.

I assume you are using a central server to facilitate the chats? [import]uid: 34945 topic_id: 9595 reply_id: 35303[/import]

yes, I am using a server. All the communication will go through it.

There will be a lot more to the app besides a chat room. The chat room will make up only one of the screens. I just need a good way to display a lot of text dynamically.

the rest of the screens will use transitions and graphics and other things provided by corona. [import]uid: 29997 topic_id: 9595 reply_id: 35312[/import]

How incredibly talented are you with coding? :slight_smile:
It is possible to make your own scrolling textbox.
In fact I’m having a go at it now. [import]uid: 34945 topic_id: 9595 reply_id: 35581[/import]