‎2016 Sep 01 10:45 AM
Hi,
Is it possible to create a push button in a screen and change the height of the button to more than one lines using screen painter?
We have created a screen for a z program.
We want to create a big push button in that screen using graphical screen painter.
The height Property is grey with default value 1 and we can not change it.
thanks.
‎2016 Sep 01 10:51 AM
Not that I know of. Workaround is a custom container with a picture or html control and you react on the mouse click event.
‎2016 Sep 01 11:15 AM
I agree, you could use cl_gui_picture in a custom container, adjust size with set_display_mode( display_mode = cl_gui_picture=>display_mode_stretch., then put icon image into area with method load_picture_from_sap_icons. You can then handle event picture_click to raise a function code with cl_gui_cfw=>set_new_ok_code for example.
Regards,
Raymond
‎2016 Sep 01 11:22 AM
I normally prefer HTML, because I can generate it mostly in ABAP. With Pictures you have the problem of transportation, that is you have to deal with the MIME repository and how to access it. Of course you can also create your own database for pictures. Before the MIME repository was invented, that was the way I've done it. How would you do it?
‎2016 Sep 01 12:54 PM