hi
i don't know English very nice, if my question is not in a suitable place, please move it in a suitable place, just don't remove it
now my question:
i have a button (this name is "B1") and a label (this name is "L1") the default L1.text=0 (i set it in desiner)
i wanna every time I push the button
"B1" A number is added to the "L1.text"
i mean my app is a simple counter
i write this code:
sub B1_click
L1.text=L1.text+1
end sub
its work correctly but the numbers is with a "dot" (1.0, 2.0, 3.0,...)
i just wanna my L1.text show the numbers as simple every time I push the button "B1" (1, 2, 3, ....)
please help me
thanks all
i don't know English very nice, if my question is not in a suitable place, please move it in a suitable place, just don't remove it
now my question:
i have a button (this name is "B1") and a label (this name is "L1") the default L1.text=0 (i set it in desiner)
i wanna every time I push the button
"B1" A number is added to the "L1.text"
i mean my app is a simple counter
i write this code:
sub B1_click
L1.text=L1.text+1
end sub
its work correctly but the numbers is with a "dot" (1.0, 2.0, 3.0,...)
i just wanna my L1.text show the numbers as simple every time I push the button "B1" (1, 2, 3, ....)
please help me
thanks all