0
Отвечен

.Value ???

Beckerautomacao 12 лет назад в iRidium Script обновлен Oksana (expert) 10 лет назад 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";
Hi,


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

Сервис поддержки клиентов работает на платформе UserEcho