on 11-03-2008 10:50 AM
Hi Experts,
I am creating radio button group by key during runtime with below code:
cl_wd_radiobutton_group_by_key=>new_radiobutton_group_by_key( bind_read_only = 'X'
BIND_ENABLED = '-'
bind_selected_key = lv_text ).
I want to make it readonly/ enable false while creating it. Can some one please tell how to use "BIND_Enabled" property of the same.
Advance thanks
Chandan
Hi,
If you want to bind the Properties of UI element through the Dynamic Programming. Use the context path.attribute name.
For Eg if u want to bind the Read-only Property and You are maintaining a Context Node say UI_RADIO_KEY and Attribute READ_ONLY type wdy_boolean.
while creating in the Program
CL_WD_RADIOBUTTON_GROUP_BY_KEY=>NEW_RADIOBUTTON_GROUP_BY_KEY
EXPORTING
id = 'RAD1'
BIND_READ_ONLY = 'UI_RADIO_KEY.READ_ONLY'.
Now u can control the READ_ONLY propoperty by maintaining abap_true or abap_false.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.