0
Beantwoord
.Value ???
Beckerautomacao 12 jaar geleden
in iRidium Script
•
bijgewerkt door Oksana (expert) 10 jaar geleden •
2
How do I get or set the value of a button?
I know there is a property "Text", there is "Value"? Not found anywhere and did not work in my tests.
Example text:
IR.GetItem ("PageName"). GetItem ("ItemName"). Text = "Text Item";
Example Value:
"IR.GetItem ("PageName"). GetItem ("ItemName"). Value = item";
Customer support service by UserEcho
If you make your button a trigger button with it's default settings, you can set the value like this:
IR.GetItem ("PageName"). GetItem ("ItemName"). Value = 1; //state 2
IR.GetItem ("PageName"). GetItem ("ItemName"). Value = 0; //state 1
Regards,
Benno