Language Reference Guide : System Classes : GhostExec Class : MessageErrorCode Attribute
 
Share this page          
MessageErrorCode Attribute
Data Type: integer
4GL Access: R
When a frame receives a user event, this attribute contains an error code value. The value of this attribute is zero for a normal user event. If the current user event was generated by the system to notify the calling frame that a previous user event was not delivered, it has one of the following values:
UE_NOTACTIVE
Specifies that the user event was sent to an inactive frame
UE_PURGED
Specifies that the receiving frame purged the user event
UE_RESUMED
Specifies that the user event's focus behavior caused a SetValue or Exit event block to run. The event block issued a resume statement that canceled the user event.
UE_DATAERROR
Specifies that the user event's focus behavior caused data conversion from the current field. The data conversion failed (for example, a non-numeric character in an integer-valued field), canceling the user event.
UE_EXITED
Specifies that the receiving frame exited before activating on the user event
UE_UNKNOWN
Specifies that the user event was unknown to the receiving frame
Descriptions of system constant values and their numeric equivalents are listed in Message Error Codes for Event.