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 for image is not refreshing

Former Member
0 Likes
1,522

In my program i m using a Custom control for image. Above the Custom control i have a input field, the requirement is when i give pictrure's name then image will be shown up in that control. pictures are loaded in SE78. now problem is its working only 1st time. when i give 2nd input then this control is not loading second image, it is keeping 1st one. in my program i free the object but it is not working.

use these two methods.....

Picture->free picture

Picture->free

here Picture class type is CL_GUI_PICTURE.

i also free the container but it is not working

Container->free

Container class type is CL_GUI_CUSTOM_CONTAINER

In my program i m using a Custom control for image. Above the Custom control i have a input field, the requirement is when i give pictrure's name then image will be shown up in that control. pictures are loaded in SE78. now problem is its working only 1st time. when i give 2nd input then this control is not loading second image, it is keeping 1st one. in my program i free the object but it is not working.

use these two methods.....

Picture->free picture

Picture->free

here Picture class type is CL_GUI_PICTURE.

i also free the container but it is not working

Container->free

Container class type is CL_GUI_CUSTOM_CONTAINER

6 REPLIES 6
Read only

Kiran_Valluru
Active Contributor
0 Likes
1,132

Hi.,

try using .,

picture->refresh

and load second picture again.

hope this helps u.,

Thanks & Regards

Kiran

Read only

0 Likes
1,132

There is no method named REFRESH

thanks any way.

Read only

Former Member
0 Likes
1,132

it is solved,

container-> free.

it need to call in proper order.

good is Loading the image in PBO

and freeing the object in PAI

Read only

Former Member
0 Likes
1,132

Hi Aitul

I also have the same requirement.

I have one screen '100' where I have created one subscreen to show the image from custom control screen 200.

How to achieve this functionality.

I am able to do when user clicks upload in screen 100, image is displayed on another acreen '200'.

I want to show the image on same screen.

Please guide me.

Regards,

Anubhav Gupta

Read only

Former Member
0 Likes
1,132

Hi Aitul

I also have the same requirement.

I have one screen '100' where I have created one subscreen to show the image from custom control screen 200.

How to achieve this functionality.

I am able to do when user clicks upload in screen 100, image is displayed on another acreen '200'.

I want to show the image on same screen.

Please guide me.

Regards,

Anubhav Gupta

Read only

0 Likes
1,132

Hi anuvabh,

Sorry i didn't notice that u want some help from me about this matter. If that issue not yet resolved than please feel free to inform me.

Rupom