2007 Nov 23 4:15 AM
Hi Experts
In dialog programming, i have check box and some other text controls.
When i select check box, text controls needs to be enabled and when i unselect the check box, same controls needs to be disabled.
I tried this, it works fine after selecting the checkbox and following press enter only.
But my requirement is without pressing enter, only with selecting the check box , it needs to be enabled and disabled.
Is it possible, if so, pls explain me.
Thanks in advance.
Regards
Rajaram
2007 Nov 23 4:19 AM
Double click on the checkbox, it will open the field property in the screen painter. Then assigne the Fuction Code say "CHK1".
In your PBO you can check the OK_CODE or SY-UCOMM with the CHK1 value.
LIKE
CASE OK_CODE.
WHEN 'CHK1'.
* ENABLE OR DISALBE AS PER IT'S VALUE
ENDCASE.Regards,
Naimesh Patel
Hi Experts
In dialog programming, i have check box and some other text controls.
When i select check box, text controls needs to be enabled and when i unselect the check box, same controls needs to be disabled.
I tried this, it works fine after selecting the checkbox and following press enter only.
But my requirement is without pressing enter, only with selecting the check box , it needs to be enabled and disabled.
Is it possible, if so, pls explain me.
Thanks in advance.
Regards
Rajaram
2007 Nov 23 4:19 AM
Double click on the checkbox, it will open the field property in the screen painter. Then assigne the Fuction Code say "CHK1".
In your PBO you can check the OK_CODE or SY-UCOMM with the CHK1 value.
LIKE
CASE OK_CODE.
WHEN 'CHK1'.
* ENABLE OR DISALBE AS PER IT'S VALUE
ENDCASE.Regards,
Naimesh Patel
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |