BBjWindowValues::getMap

Description

In BBj 17 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

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.