The Ultimate Suite for PowerBuilder Image Comparer allows you to overlay two images in a container and a horizontal or vertical slider to reveal or hide the second image.
This control minimizes the space required on users' screens to compare two images.
Place u_cst_imagecompare from advguicontrols.pbl\pbd on your window. Call the available functions to change the controls behaviour. There is no special code needed to setup the control. uo_1.of_SetBackgroundImage("C:\dev\Scenery1.png") uo_1.of_SetBackgroundImage2("C:\dev\Scenery2.png")
Note: if you don't need to change the appearance of the image comparer dynamically, all settings can be defined in the IDE at design time.