Posted by Joey p12386 on April 06, 2005 In Reply to: filename in fruit machine posted by cmarques on April 06, 2005 Well you have an assignment operator in the wrong place but thats all i can see wrong. Im at work atm so i do not have delphi to test but this code should work: (it only incorporates the one change and added parenthesis just incase ;)) if (Image1.Picture.filename = Image2.Picture.filename) and (Image1.Picture.filename = Image3.Picture.filename) then edtscore.Text := IntToStr(StrToInt(edtscore.text) + 3); If thats not working post back i should be at delphi by then.
Related Articles and Replies
|
|