Displaying a global variable on a gui

Started by Invalid, Thu 09/07/2009 22:41:15

Previous topic - Next topic

Invalid

Just to tell you, I am NOT a noob, but this question is big for me. I looked through the manual and could not find a direct answer so somebody tell me. What command should I use to show a global variable on a gui? the variable will be changing constantly. Also, somebody tell me where to put the funtion also. thanks

Matti

#1
Create a label and then write a line like this whenever the variable changes or just in the rep-ex:

Labelname.Text = String.Format("%d", Variablename);

Just put in the right label- and the variable name.


SMF spam blocked by CleanTalk