cancel
Showing results for 
Search instead for 
Did you mean: 

hiding a button

Former Member
0 Kudos

hi all,

I have 2 buttons in my application and my aim is to hide second button untill first button is clicked..(note:not disabling the button but hide the button completely).

Can anyone give me an idea or sample to hide buttons.

Thanx in advance,

Regards,

Anusha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

u can create an attribute of type wdui_visibility and bind this attribute to the visibility property of the button.

on the action of the button(which is triggered on clicking the button), you can set the value for attribute as '02' which means visible

regards

chythanya

Answers (2)

Answers (2)

Former Member
0 Kudos

thanx for help...i got it

Former Member
0 Kudos

Hi anusha sabbineni,

Create an attribute of type wdy_boolean and bind that to the visibility property of the second button, initially keep the value of the attribute to abap_false. then on the click event of first button, make the attribute value to abap_true.

Regards

Sarath