Textarea gadget with monkeyx. Is that possible?

Monkey Forums/Monkey Beginners/Textarea gadget with monkeyx. Is that possible?

Pakz(Posted 2016) [#1]
With javascript you can write and read text gadgets. How do you make that with monkey? Has anyone done that yet? Are there any links I should look at?

I want to modify text files. Parse ect into a program(sprite editor)


k.o.g.(Posted 2016) [#2]
Can you precise your question :D do you want load some Text?

Have you ever testet Databuffer.Load() or LoadText()(or is it called LoadString(), i'm not sure :D)


Pakz(Posted 2016) [#3]
In Blitz Plus you can use the textarea to edit text in. Does Monkey have a gadget like that? Javascript\html has textarea's to and monkey makes html code.

I was maybe thinking you had to modify the compiled code yourself to have it access (read from and to a textarea)

I want to make a sprite editor in monkey html5 that puts code in textarea's so you can copy it out.


Phil7(Posted 2016) [#4]
Why not use the debug area under your app, if you just want to copy code out from there and not want to put something in.


Gerry Quinn(Posted 2016) [#5]
Do you mean a 'textbox' GUI item? There are one or two user-built GUIs out there which presumably have something like that, or you could roll your own. Monkey doesn't have a built-in GUI library, though I think Monkey 2 is going to.