__OBJGETVALUELIST()
Return an array of DATA names and values for a given object
- Syntax
- __objGetValueList( <oObject>, [<aExcept>] ) --> aData
- Arguments
- <oObject> is an object to scan.
- <aExcept> is an optional array with DATA names you want to exclude from the scan.
- Returns
- __objGetValueList() return a 2D array that contain pairs of a DATA symbol name and the value of DATA. __objGetValueList() would return an empty array {} if the given object does not contain the requested information.
- Description
- __objGetValueList() is a low level class support function that return an array with DATA names and value, each array element is a pair of: aData[ i, HB_OO_DATA_SYMBOL ] contain the symbol name aData[ i, HB_OO_DATA_VALUE ] contain the value of DATA
- Examples
- // show information about TBrowse class
- oB := TBrowseNew( 0, 0, 24, 79 )
- aData := __objGetValueList( oB )
- FOR i = 1 to len ( aData )
- ? "DATA name:", aData[ i, HB_OO_DATA_SYMBOL ], ;
- " value=", aData[ i, HB_OO_DATA_VALUE ]
- NEXT
- Status
Ready
- Compliance
- __objGetValueList() is a Harbour extension.
- Files
- Header file is hboo.ch Library is rtl
- See Also