on 09-09-2015 2:20 PM
Hi Experts,
I have an TextEdit UI element in my Output and this needs to be Enable/Disable for User input Dynamically based on a condition. Buy default it will be enabled for user input.
As CL_WD_TEXT_EDIT is a protected class, I have created custom class as a sub class of CL_WD_TEXT_EDIT and tried SET_ENABLED and SET_DISPLAY_ONLY both the methods. But it's not working for me.
Please suggest is there any way to achieve the same.
Thanks,
Viswanath
Hi,
Bind the Read_Only/Enabled property of the UI element to attribute of type WDY_BOOLEAN and dynamically set it to true/false based on the condition.
Check the below docs for reference:
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Bind the Read_Only/Enabled property of the UI element to attribute of type WDY_BOOLEAN and dynamically set it to true/false based on the condition.
This solution is working.
Thanks all for your answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try SET_READ_ONLY. Please post your code if this doesn't work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.