2010 Oct 19 10:23 AM
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.
2010 Oct 19 10:30 AM
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
2010 Oct 19 10:41 AM
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
2010 Oct 19 11:44 AM
2010 Oct 19 11:50 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |