BBjCloseEvent::getValues

Description

In BBj 15.00 and higher, 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

Returns the text of the specified control.

Remarks

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

See Also

BBjAPI

BBj Object Syntax

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.