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

Custom Control in module pool

0 Likes
799

Hi Friends,

                  I am working on requirement where i have to show photos and details of employee family members in modulepool. Here i am succeeded in displaying all the details.But when displaying for the second time, i am getting problem with the custom control where i am displaying the corresponding relative photo. The problems are:

1. Images displayed for the first time are displaying all the time.

2. And the same images are scrolling when we scroll in the screen, but this is not happening for the first time.

Inputs in my screen are : Employee id (one at a time)

test case is like for the first time user enters 'xxxxxxx' emp id, all the details are getting displayed correctly with all photos.

when he enters another employee for the second time, images of first employee are still displaying along with the second employee and getting scrolled when we scroll the bar.

I have tried refreshing the control using method "free", but still i am getting the same problem.

please share your suggestions regarding this problem.

Thanks in advance.

Sai...

3 REPLIES 3
Read only

Former Member
0 Likes
651

Hi

You need to release your custom control, check the class you should find out the method FREE, use it as soon as you'll back to selection-screen.

Max

Read only

0 Likes
651

HI Max,

              Firstly i am sorry for late response and am actually using the FREE method and also clear statement but still it is not working. I have cleared all controls in Input and loading images in Output. It is getting cleared (checked in debugginig), but in the screen display i am able to see the new employee relatives photos as well as initial employee photos. But here initial employee photos are not getting cleared and also getting scrolled when we scroll down the page and the same is happening when the user entered other employee for any number of times. Do i need to use any other methods or please suggest me any other solution...if you want i can copy the output display to your personal id if provided....

Thanks in advance..

Sai...

Read only

0 Likes
651

Hiii,

         Use method CLEAR_PICTURE and also check your variable for picture URL it should be clear before  before constructing new URL for picture and before displaying new use CLEAR_PICTURE method.