ThaD4N13L Posted January 4, 2012 Share Posted January 4, 2012 So I was wondering how to do something like this I will explain below You click on a button whitch is made and how do you make it if u have a Memo how to set the Text of a thing from a XmL file Link to comment
Castillo Posted January 4, 2012 Share Posted January 4, 2012 It depends on how your XML file is designed. This is an example: -- file.xml: <content> Hello world </content> -- client.lua: local xml = xmlLoadFile( "file.xml" ) local content = xmlNodeGetValue( xml ) guiSetText(myGUIMemo, tostring(content)) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now