Hello Everybody,
I am using picture boxes to display 4 images loaded from files. The size of images needs to be reduced for displaying purposes. However, I would like to open an original image file after clicking on the image displayed in the picture box. I would appreciate for hints how to do that.
Best regards.
//initially no images
img1 = empty();
img2 = empty();
img3 = empty();
img4 = empty();
New Window("Images",
H List Box(
Panel Box("El 1", //place for EL images
EL1 = Picture Box(img1),
),
Panel Box("El 2",
EL2 = Picture Box(img2),
),
Panel Box("El 3",
EL3 = Picture Box(img3),
),
Panel Box("El 4",
EL4 = Picture Box(img4),
),
);
//here images will be opened
//img1 = open("D:\image.tif", tif);
//img1 << set size({image_w_new, image_h_new});
//EL1 << set image (img1);