BBjFormValidationEvent::getValues


Description

This method returns a data structure containing the text values of all controls on the top level window.

Syntax

Return Value

Method

HashMap<Integer, HashMap<Integer, String>>

getValues()

Parameters

None.

Return Value

The values are returned in a two-level data structure, organized as follows:

   allValues! = event!.getValues(); rem top level window and child windows

   winValues! = allValues!.get(new Integer(contextID)); rem a single window

   value$ = winValues!.get(new Integer(controlID); rem text for a control

 

BBj 12.0 and higher provides easier to use methods for retrieving individual text values. See BBjFormValidationEvent::getText.

Remarks

None.

See Also

BBjAPI

BBj Object Syntax

BBj Object Diagram for an illustration of the relationship between BBjObjects.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.