Frictional Games Forum (read-only)
Visual basics? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Frictional Games (https://www.frictionalgames.com/forum/forum-3.html)
+--- Forum: Off-Topic (https://www.frictionalgames.com/forum/forum-16.html)
+--- Thread: Visual basics? (/thread-8871.html)



Visual basics? - xtron - 06-29-2011

I guess this is the most unasked question on this forum but.

Anyone who knows how to program in Visual basics:

When you write something in a textbox and then press a button the thing you wrote in the textbox appears in another codebox and/or textbox?

AND!.

Code:
stuffboxfunction.Text = "ScriptScript
Somemore scripts under the scriptscript snizz
Blablablabla
lol hehe"
"

; And I get a syntax error. I want to do like this:

ScriptScript
Somemore scripts under the scriptscript snizz
Blablablabla
lol hehe

Text under eachother like I showed in the CODE tab.


RE: Visual basics? - xiphirx - 06-30-2011

Try "\n" for linebreaks.

For the first problem, I'm pretty sure you can just do name.text = result of popup.


RE: Visual basics? - xtron - 07-01-2011

okay thanks m8 Tongue