SAM_AnyEdit is sent to a combo box, data field, multiline text field, or table window column whenever you make a change to that object's value. The object receives a SAM_AnyEdit message on every key stroke. By processing SAM_AnyEdit messages, an application can check an object's value as it changes. Message Variables For a data field, combo box, or multiline text field: hWndForm Window handle of the parent window. hWndItem Window handle of the object. wParam Unused. IParam Unused. For a table window column: hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Unused. IParam Row number of the table window. Example As you enter each character into the dfCompanyID data field, the internal function SalIsValidInteger checks to see if the character is a valid number. If it is not valid, the internal function StripLastCharacter strips it off and you must enter another character. Data Field: dfCompanyID

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_AnyEdit

See Also