跳至内容
菜单
此问题已终结
1 回复
2587 查看

Hi,good day!. 


I just want to ask how i can automatically change the string of a button after i clicked it on form view. 

形象
丢弃
最佳答案

Am not sure if that is possible. 
One quick hack.. we could achieve this with an extra boolean field (say B). 

You could have 2 buttons(say 1&2) in the view pointing to the same function but with different string value in xml. Once clicked, change that boolean field to True. 

so in view, you could write like 
1--> visible when B is False
2--> visible when B is True

Until you find proper  solution, you could use like this.

形象
丢弃
编写者

Yes, i did that already. Thanks🙂

相关帖文 回复 查看 活动
2
3月 17
16047
1
11月 24
19991
1
9月 23
2889
3
5月 23
5480
7
4月 23
48796