Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2592 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Yes, i did that already. Thanks🙂

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 17
16047
1
thg 11 24
19991
1
thg 9 23
2889
3
thg 5 23
5480
7
thg 4 23
48796