Im using this code to get the effect shown below in the images so when you click the LMB on the the pic enlarges.....
Image.SetSize("Image1", 752, 410);
Image.SetPos("Image1", 21, 22);
Image.SetVisible("Image2", false);
Image.SetVisible("Image3", false);
Image.SetVisible("Image4", false);
Then im using this code on the RMB to reset the screen....
Image.SetSize("Image1", 203, 115);
Image.SetPos("Image1", 50, 114);
Image.SetVisible("Image2", true);
Image.SetVisible("Image3", true);
Image.SetVisible("Image4", true);
The question is......How can I combine the 2 codes so it works with just the LMB ?
If its possible at all ? So it would be LMB to enlarge....LMB again to reset..
Thanks in advance

Image.SetSize("Image1", 752, 410);
Image.SetPos("Image1", 21, 22);
Image.SetVisible("Image2", false);
Image.SetVisible("Image3", false);
Image.SetVisible("Image4", false);
Then im using this code on the RMB to reset the screen....
Image.SetSize("Image1", 203, 115);
Image.SetPos("Image1", 50, 114);
Image.SetVisible("Image2", true);
Image.SetVisible("Image3", true);
Image.SetVisible("Image4", true);
The question is......How can I combine the 2 codes so it works with just the LMB ?
If its possible at all ? So it would be LMB to enlarge....LMB again to reset..
Thanks in advance



Comment