BBjWindowValues::getMap

Description

In BBj 17.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>> getMap()

Parameters

None.

Return Value

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


values! = window!.getValues(); rem ' The BBjWindowValues object
map! = values!.getMap(); rem ' All values for top level window and child windows
winmap! = map!.get(new Integer(contextID)); rem ' Values for a single window
value$ = winmap!.get(new Integer(controlID)); rem ' Text value for a single control

See Also

BBjAPI

BBj Object Syntax

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