I have a cWebForm object that monitors the OnKey event
but I only want it to do this when the character is printable, so I change it to this:Code:Object oPhoneticFirst is a cWebForm Set piColumnSpan to 0 Set pbShowLabel to False Set psPlaceholder to "First Name like" Set pbCapslock to True Set pbServerOnKey to True Procedure OnKey Boolean bPrintable String sKey WebSet pbApply of oApplyFilter to True End_Procedure End_Object
which then results in the following error ONLY when bPrintable = trueCode:Object oPhoneticFirst is a cWebForm Set piColumnSpan to 0 Set pbShowLabel to False Set psPlaceholder to "First Name like" Set pbCapslock to True Set pbServerOnKey to True Procedure OnKey Boolean bPrintable String sKey If (bPrintable) WebSet pbApply of oApplyFilter to True End_Procedure End_Object
Any ideas? I think it is a bug.C:\GSC\WebWISH 1.x\Programs\WebApp.exe
Attempt to run uncompiled expression true
DataFlex Error#: 56 in line: 98836.
MSG_ONKEY (6509) - oPhoneticLast (606) - at address 98836
GET_HANDLEACTION (5717) - oPhoneticLast (606) - at address 17035
GET_CALLACTION (6411) - oWebApp (23) - at address 23837
MSG_ONHTTPPOST (5596) - oWebServiceDispatcher (46) - at address 22910
MSG_ONHTTPREQUEST (5428) - oWebServiceDispatcher (46) - at address 15721
MSG_HANDLEHTTPREQUEST (5391) - oWebServiceDispatcher (46) - at address 15756
MSG_ONHTTPREQUEST (5428) - oVDFInetSession (34) - at address 14627
MSG_STARTWEBAPP (5625) - oWebApp (23) - at address 16103
[start] - at address 254900