Posted: Wed Jul 06, 2016 5:45 pm Post subject: This has to be easy. What is wrong?
I am trying to make a button which attaches a process and if attached then make image visible and if not then the image is not visible.
Here is what I tried but its 100% wrong. could someone tell me whats wrong.
Code:
function CEButton1Click(sender)
if openProcess("W8.1EntryPoint.exe") then
setProperty(CETrainer.CEImage1, Visible == 1)
else
setProperty(CETrainer.CEImage1, Visible == 0)
end
end
I am sure that the "Visible == 1/0" is the wrong part but I don't know what its meant to be.
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