Sent to a Data field, multiline field, combo box, and column when the user changes the value of the object and then moves the focus away from the object. The user can move the focus by several actions such as tabbing to another object, clicking another object, or using a mnemonic or accelerator to activate another object. When a user changes one of these objects, the object's field edit flag changes to TRUE. You can get and set the field edit flag using SalQueryFieldEdit and SalSetFieldEdit. SAM_Validate validates the data that the user entered or changed. Whenever the user changes an object, sends SAM_Validate. If an object is valid, return VALIDATE_Ok (this resets the field edit flag to FALSE). The value you return from SAM_Validate processing controls whether the focus changes. does not send SAM_Validate when the user selects a menu item (a menu selection does not change the focus). You can force to send SAM_Validate by calling SalSendValidateMsg

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_Validate

See Also