on 03-30-2009 4:52 PM
Hi
Could you pls. let me know how to change the Text value of TextView UI Element dynamically from wdDoInit() or any other method in View class.
Thank You!......
Bind the "text" property to some context attribute and change the value of this attribute.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you need to change the text view value dynamically everytime then you need to do this in wdModifyView.
wdDoInit will be executed once at a time but the wdModifyView will run everytime whenever you do any operation.
Thanks
Kanai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kennai
Thanks. ya i understand that.
Actually i made 2 context variables va_first_name and va_last_name. I have set these values in wdDoInit or wdDoModifyView method.
Now thing is i want to display both first name and last name in one textView but at design time we can only assign single context variable
Pls let me know how to solve this issue...
Thanks...
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.