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

To disable button on screen (module pool program) by double clicking

Former Member
0 Likes
804

Hi friends,

I have a requirement i want to disable a input field when i double click on it ...please suggest possible solution.

Thanks in advance.

Hariom.

Hi friends,

I have a requirement i want to disable a input field when i double click on it ...please suggest possible solution.

Thanks in advance.

Hariom.

4 REPLIES 4
Read only

Former Member
0 Likes
638

Hi,

You can do this there is attribute of field 'RESPOND TO DOUBLE CLICK' tick this checkbox, then when ever u double click on this field the control will come to PAI, then by checking the usercommand as PICK u can enable and disable the field.

But one thing i want to know on double click on the field wat do u want to do ? R u just wanting the field to be disable on double click ?

Regards,

Madhukar Shetty

Read only

Former Member
0 Likes
638

Hi Hariom

I am agree with Madhukar.

you can capture the double click of the button in PAI and can change it to display only when double clicked on it.

thanks

Lalit Gupta

Read only

Former Member
0 Likes
638

yes i want this field to be disable on double click

Read only

0 Likes
638

Hi,

Follow thw steps which i have given , first set the property of the field to respond to double click , then write a module in PBO

by using this code

if okcode eq 'PICK'.

LOOP AT SCREEN.

if screen-name eq 'FLD1'.

screen-input = 0.

modify screen.

endif.

ENDLOOP.

endif.

Regards

Madhukar Shetty