Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2698 Widoki

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. 

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

Yes, i did that already. Thanks🙂

Powiązane posty Odpowiedzi Widoki Czynność
2
mar 17
16332
1
lis 24
20295
1
wrz 23
3112
3
maj 23
5688
7
kwi 23
49074