2007 Dec 21 4:41 AM
Hi friends,
I am using ECL viewer software and the class CL_GUI_ECL_2DVIEWER to display a image.
now when the first time when the user selects an image it is displayed properly in the container,but when the user chooses the another image it is not displayed,the first image still remains there.
how to solve this problem
Edited by: Amit Sawant on Dec 21, 2007 7:18 AM
Edited by: Amit Sawant on Dec 22, 2007 5:45 AM
2007 Dec 22 5:58 AM
HI Amit,
Probably u must set the property of previous image to invisible using the IF_ECL_LAYERGET_LAYER_VISIBLE and IF_ECL_LAYERSET_LAYER_VISIBLE.
First Create a new layer using IF_ECL_LAYERCREATE_NEW_LAYER and delete the previous one using IF_ECL_LAYERREMOVE_LAYER.
awrd points if useful
Bhupal