dersiniar Posted March 11, 2019 Share Posted March 11, 2019 Hi guys! How to get this GUICtrlSetData right? Id like in label $info will be shown 2 different things from varables $Total and $TreeTime. So far i got only one of them to work like this GUICtrlSetData($info, $Total) While 1 Sleep (1000) $TreeTime -= 4 $Total += 3 GUICtrlSetData($info, $Total[$TreeTime]) ; first cell 70 width WEnd Link to comment Share on other sites More sharing options...
Skeletor Posted March 11, 2019 Share Posted March 11, 2019 While 1 Sleep (1000) $TreeTime -= 4 $Total += 3 GUICtrlSetData($info, $Total & " " & $TreeTime) ; first cell 70 width WEnd So, what I did was added the & and also you can see I made a "space" so it will show like this: "3 4" instead of "34" dersiniar 1 Kind RegardsSkeletor "Coffee: my defense against going postal." Microsoft Office Splash Screen | Basic Notepad Program (Beginner) | Transparent Splash Screen | Full Screen UI Link to comment Share on other sites More sharing options...
dersiniar Posted March 11, 2019 Author Share Posted March 11, 2019 2 minutes ago, Skeletor said: While 1 Sleep (1000) $TreeTime -= 4 $Total += 3 GUICtrlSetData($info, $Total & " " & $TreeTime) ; first cell 70 width WEnd So, what I did was added the & and also you can see I made a "space" so it will show like this: "3 4" instead of "34" Thanks a lot, that works like charm Link to comment Share on other sites More sharing options...
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