DbSetDatagram - method of the AtouchX object
Sets up datagram monitoring.
The method sets the monitoring of incoming datagrams in the variable specified by WID
. From the calling of the DbSetDatagram
method, each incoming datagram will trigger the DbDatagram
event. until it is cancelled by the DbResetDatagram
method or the object is terminated.
Integer DbSetDatagram(Long WID, Long Param)
|WID||(Long) WID of the database variable that is used as the receiving datagram variable.|
|Param||(Long) The value that is passed unchanged to the datagram event.|
var oATC = pMe.Pm("/AtouchApp").Acx;
var nWID = 2005;
var nState = oATC.DbSetDatagram(nWID, 85);