Displaying a private variable in a text box

For questions about using Classic.

Post » Sat Apr 30, 2011 1:31 am

I'm trying to display a private variable of an object in a text box. When I set the text to "Health: " & Player.Value('HealthCurrent') & "/" & Player.Value('HealthMax') and run my application, it shows Health: 100/ and drops the last number. What am I doing wrong? I defined both of the variables before the text set event.
B
1
G
1
Posts: 8
Reputation: 441

Post » Sat Apr 30, 2011 4:27 am

Is the text box as wide as the text?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests