Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

The 2nd image doesnt show

Former Member
0 Kudos

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


Former Member
0 Kudos

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