orgVal = 100 -------> original value here
myCheatValue = orgVal
e.Text = tostring(orgVal) -----> convert value to text
l.Caption = 'Original Value is : '..e.Text
function chgValue()
myCheatValue = myCheatValue + 10 ---> or writeInterger(bla..bla..bla)
e.Text = tostring(myCheatValue) ---> Display changed value on editbox
l.Caption = 'Original Value has changed to : '..e.Text
end
function restoreVal()
orgVal = 100 -------> original value here
myCheatValue = orgVal ----> or writeInterger(bla...bla..default value)
e.Text = tostring(orgVal) -----> convert value to text
l.Caption = 'Original Value Restored : '..e.Text
end
b.onClick = chgValue
b1.onClick = restoreVal
f.show()
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum