ObjectGears Help

Forum   ObjectGears (Version:

Object OGActualMessage

This object is used for setting up an error message at processing a class rules.

Object properties


Name Description
string ErrorMessage Text of the error message. It is read only.
void SetError(string message) Method for defining the error message.


When using SetError method in a class rule you have to state return true; before the script end. Otherwise no error message will be displayed to the user.

OGActualMessage.SetError( "error");
return false;

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information