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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a dynamic clicked picture in ABAP SCREEN

0 Kudos

is there any possibility to make a many click events in a picture,

i have a container associated with a picture. So i wanna do implementing more than one click event to it. for example when the user clicks on the first 5 cm of the picture it will lead him to the first event and same for the rest of the picture ( each 5 cm leads to a different event ! )

1 ACCEPTED SOLUTION

roberto_vacca2
Active Contributor
0 Kudos

Hi.

CL_GUI_PICTURE has got PICTURE_CLICK event.

You can get mouse position and handle reaction in the handle_picture_click method implementation.

Hope to help

Bye

3 REPLIES 3

roberto_vacca2
Active Contributor
0 Kudos

Hi.

CL_GUI_PICTURE has got PICTURE_CLICK event.

You can get mouse position and handle reaction in the handle_picture_click method implementation.

Hope to help

Bye

former_member182550
Active Contributor

I would be tempted to use an HTML_VIEWER control with image mapping.

Rich

0 Kudos

Hi

Nowdays we've a lot of options.. too many in my opinion. You must choose what wears better your company's environment level. When you make a choice, don't be too shy but don't be too brave. Remember: you do it only for a few dollars more 🙂

Anyway your solution it seems good as well.

Bye