Loading...
 

CX_TRANSACTION::MonitorByUniqueID

CX_TRANSACTION::MonitorByUniqueID

Description:

This function searches in the monitor collection for a monitor with the transferred short description (uniqueID). If the monitor object is wrapped, the function returns CX_DESCRIPTIVE_REF - object.

Code example:

GetObject(, transactions) ifnot return
Var(tmpTransaction, monitor, searchID)
GetObject(, transactions) -> tmpTransaction
0 -> monitor
GetObject(, State) Copy(uniqueID) tmpTransaction Call(MonitorByUniqueID) Dup if
{
monitor Copy(_uniqueID)
tmpTransaction Call(TriggeredStateMonitor)
Dup if { Select(, State) Widget(, State) SendMsg(SELECT, DIRECT) }
NULL ExpandAll(, transactions)
tmpTransaction Select(, transactions)
}

Stack
Stack Position Object type Brief description
Stack(In) Top CX_TRANSACTION A transaction
Top 1 STRING Brief description
Stack(Out) Top CX_EXPANDABLE or NULL Monitor or wrapper
Function call: Call(MonitorByUniqueID)