Hi,
In Citect 2016 we have created a popup page as "!PopUp_Onoff_Valve"
We write a cicode function to assign a parameters for this pop-up window using AssVartag and using WinnewAt function as below to open on clicking certain points on a screen.
**********
/*ci_MM_WinPopup("!popup_MWP_SS", xcoordinate, ycoordinate,0)*/
WinNewAt("!PopUp_Onoff_Valve",xcoordinate,ycoordinate,10+256+512+16384+32768+65536+131072,)
WinTitle(Windowtitle)
END"
In Runtime pop-up is not opening, on debug cicode, WinewAt function simply returns -1 value.
Same code i am using for my other project of 2016 where it runs abosolutly fine.
Kindly help to find out the cause.
regards
Hemant