ที่หน้าจอ Selection Screen จะ invisible Checkbox เมื่อเลือก Radio Button ?
Solution:
SELECTION-SCREEN BEGIN OF BLOCK first WITH FRAME TITLE text-001.
PARAMETERS : radio1 RADIOBUTTON GROUP grp1 USER-COMMAND radio,
radio2 RADIOBUTTON GROUP grp1,
radio3 RADIOBUTTON GROUP grp1.
SELECTION-SCREEN END OF BLOCK first.
SELECTION-SCREEN BEGIN OF BLOCK second WITH FRAME TITLE text-002.
PARAMETERS : chkbox AS CHECKBOX DEFAULT 'X' MODIF ID DIS.
SELECTION-SCREEN END OF BLOCK second.
AT SELECTION-SCREEN OUTPUT.
" invisible checkbox case selected radio2...
LOOP AT SCREEN.
IF screen-group1 = 'DIS'.
IF radio2 = 'X'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น