Lines Matching refs:pEvent
590 CJS_EventRecorder* pEvent = pEventContext->GetEventRecorder(); in AFNumber_Format() local
591 if (!pEvent->HasValue()) in AFNumber_Format()
594 WideString& Value = pEvent->Value(); in AFNumber_Format()
697 CJS_EventRecorder* pEvent = pContext->GetEventRecorder(); in AFNumber_Keystroke() local
698 if (!pEvent->HasValue()) in AFNumber_Keystroke()
701 WideString& val = pEvent->Value(); in AFNumber_Keystroke()
702 WideString& wstrChange = pEvent->Change(); in AFNumber_Keystroke()
705 if (pEvent->WillCommit()) { in AFNumber_Keystroke()
712 pEvent->Rc() = false; in AFNumber_Keystroke()
722 if (pEvent->SelStart() != -1) { in AFNumber_Keystroke()
723 wstrSelected = wstrValue.Substr(pEvent->SelStart(), in AFNumber_Keystroke()
724 pEvent->SelEnd() - pEvent->SelStart()); in AFNumber_Keystroke()
730 if (!wstrSelected.IsEmpty() && pEvent->SelStart() == 0) { in AFNumber_Keystroke()
731 pEvent->Rc() = false; in AFNumber_Keystroke()
743 pEvent->Rc() = false; in AFNumber_Keystroke()
751 pEvent->Rc() = false; in AFNumber_Keystroke()
756 pEvent->Rc() = false; in AFNumber_Keystroke()
759 if (pEvent->SelStart() != 0) { in AFNumber_Keystroke()
760 pEvent->Rc() = false; in AFNumber_Keystroke()
768 pEvent->Rc() = false; in AFNumber_Keystroke()
773 val = CalcMergedString(pEvent, wstrValue, wstrChange); in AFNumber_Keystroke()
785 CJS_EventRecorder* pEvent = in AFPercent_Format() local
787 if (!pEvent->HasValue()) in AFPercent_Format()
805 WideString& Value = pEvent->Value(); in AFPercent_Format()
882 CJS_EventRecorder* pEvent = pContext->GetEventRecorder(); in AFDate_FormatEx() local
883 if (!pEvent->HasValue()) in AFDate_FormatEx()
886 WideString& val = pEvent->Value(); in AFDate_FormatEx()
957 CJS_EventRecorder* pEvent = pContext->GetEventRecorder(); in AFDate_KeystrokeEx() local
958 if (!pEvent->WillCommit()) in AFDate_KeystrokeEx()
961 if (!pEvent->HasValue()) in AFDate_KeystrokeEx()
964 const WideString& strValue = pEvent->Value(); in AFDate_KeystrokeEx()
975 pEvent->Rc() = false; in AFDate_KeystrokeEx()
1053 CJS_EventRecorder* pEvent = in AFSpecial_Format() local
1055 if (!pEvent->HasValue()) in AFSpecial_Format()
1058 const WideString& wsSource = pEvent->Value(); in AFSpecial_Format()
1078 pEvent->Value() = CJS_Util::StringPrintx(wsFormat, wsSource); in AFSpecial_Format()
1090 CJS_EventRecorder* pEvent = pContext->GetEventRecorder(); in AFSpecial_KeystrokeEx() local
1091 if (!pEvent->HasValue()) in AFSpecial_KeystrokeEx()
1094 const WideString& valEvent = pEvent->Value(); in AFSpecial_KeystrokeEx()
1099 if (pEvent->WillCommit()) { in AFSpecial_KeystrokeEx()
1106 pEvent->Rc() = false; in AFSpecial_KeystrokeEx()
1118 pEvent->Rc() = false; in AFSpecial_KeystrokeEx()
1123 WideString& wideChange = pEvent->Change(); in AFSpecial_KeystrokeEx()
1128 size_t iIndexMask = pEvent->SelStart(); in AFSpecial_KeystrokeEx()
1130 pEvent->SelStart() - pEvent->SelEnd(); in AFSpecial_KeystrokeEx()
1133 pEvent->Rc() = false; in AFSpecial_KeystrokeEx()
1139 pEvent->Rc() = false; in AFSpecial_KeystrokeEx()
1147 pEvent->Rc() = false; in AFSpecial_KeystrokeEx()
1155 pEvent->Rc() = false; in AFSpecial_KeystrokeEx()
1171 CJS_EventRecorder* pEvent = in AFSpecial_Keystroke() local
1173 if (!pEvent->HasValue()) in AFSpecial_Keystroke()
1185 if (pEvent->Value().GetLength() + pEvent->Change().GetLength() > 7) in AFSpecial_Keystroke()
1383 CJS_EventRecorder* pEvent = pContext->GetEventRecorder(); in AFRange_Validate() local
1384 if (!pEvent->HasValue()) in AFRange_Validate()
1387 if (pEvent->Value().IsEmpty()) in AFRange_Validate()
1390 double dEentValue = atof(pEvent->Value().ToDefANSI().c_str()); in AFRange_Validate()
1417 pEvent->Rc() = false; in AFRange_Validate()