cancel
Showing results for 
Search instead for 
Did you mean: 

How to add buttons to a popoup

former_member557553
Participant
0 Kudos

Hello,

I'm just trying to to add a button to the predefined popup buttons "ok" "cancel" ...

i think there is a interesting data type of WDR_POPUP_BUTTON_KIND. but how can i use it?

i aim to get a "Copy" and a "Close" button on the right-bottom side.

best regards

christian

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196517
Contributor
0 Kudos

Hi Christian,

In popup i guess we cannot override the text of buttons which are predefined ,

Regards

Anuj

Message was edited by:

Anuj Goyal

Former Member
0 Kudos

Hi Anuj ,

Button text can be changed .. in POPUP

Please Check IF_WD_WINDOW->SUBSCRIBE_TO_BUTTON_EVENT

Following parameters can be set

BUTTON

BUTTON_TEXT

TOOLTIP

ACTION_NAME

ACTION_VIEW

IS_DEFAULT_BUTTON

Former Member
0 Kudos

hi,

If you call the method <b>CREATE_POPUP_TO_CONFIRM</b> of the class I<b>F_WD_WINDOW_MANAGER</b>,there is one parameter called <b>BUTTON_KIND</b>.This parameter is type WDR_POPUP_BUTTON_KIND.

if you pass the value mentioned below,you will get the buttons accordingly in the popup.

1 OK

2 Close

3 Ok., Cancel

4 Yes, No

5 Yes, No, Cancel

6 Cancel, Repeat, Ignore

<b>reward point if useful.</b>