Fix missing WOMatKey and CtrlEntID.

This commit is contained in:
Infineon\Mitchem
2024-09-10 13:35:25 -07:00
parent f9f296fa5e
commit fefe60bd51
2 changed files with 3 additions and 3 deletions

View File

@ -728,6 +728,7 @@ RETURN
HoldClick:
* * * * * * *
CtrlEntID = @WINDOW
WMInKey = Get_Property(@WINDOW,'ID')
WONo = WMInKey[1,'*']
@ -748,7 +749,7 @@ Send_Event(@WINDOW,'WRITE')
HoldData = ''
HoldData = Dialog_Box('DIALOG_HOLD',@WINDOW,Transition:@FM:@FM:HoldType)
If HoldData NE 'Cancel' then
Hold_Services('ToggleHold', WOMatKey, HoldEntity, HoldEntityID, CtrlEnt, '', HoldData)
Hold_Services('ToggleHold', WOMatKey, HoldEntity, HoldEntityID, CtrlEntID, '', HoldData)
IF Error_Services("HasError") THEN
ErrCode = Error_Services("GetMessage")
ErrMsg(errCode)