Progress.Data.InputValue class (Windows only; GUI for .NET only) Provides indexers you can use to access the input value of the specified field in the current row of a table displayed in the bound .NET control. Note: Using an instance of this class is analogous to using the INPUT-VALUE attribute for a field value displayed in an ABL widget. Constructors This class does not contain a constructor. Super Class System.Object class (from the .NET Framework) Interfaces This class does not implement interfaces (beyond those it inherits from its base class). PublicProperties This class does not contain properties (beyond those it inherits from its base class). PublicMethods This class does not contain methods (beyond those it inherits from its base class). Public Events This class does not contain events (beyond those it inherits from its base class). Notes The following code fragment illustrates how to use this class: DEFINE VARIABLE myCustName AS CHARACTER NO-UNDO. /* InputValue indexer is 0-based */ myCustName = UNBOX(myBindingSource:InputValue[1]). IF myCustName EQ “Brown” THEN DO: MESSAGE “Invalid Customer Name”. . . . END. For information on the public class members inherited from the System.Object class, refer to the .NET Framework class library. See also ChildInputValue property, InputValue property
DEFINE VARIABLE myCustName AS CHARACTER NO-UNDO.
/* InputValue indexer is 0-based */
myCustName = UNBOX(myBindingSource:InputValue[1]).
IF myCustName EQ “Brown” THEN DO:
MESSAGE “Invalid Customer Name”.
. . .
END.