Материал из Module developer
List.StartReleaseActionByIndex
Perform an action from the item by index
Синтаксис
List.StartReleaseActionByIndex(Index)
| Название | Пример | Описание |
| Index | 1 | type: Number item position |
| На выходе |
-
Пример
var l_oList = module.GetPopup("Popup 1").GetItem("list"); //getting the list object var l_oItem = l_oList.GetItemByIndex(1); l_oItem.SetReleaseAction(function (){ //Set an action for the item IR.Log("Hello, world!"); }) l_oList.StartReleaseActionByIndex(1); //Launching an action
