__objGetMethodList()
Return names of all METHOD for a given object
- Syntax
-
- __objGetMethodList( <oObject> ) --> aMethodNames
- Arguments
-
- <oObject> is an object to scan.
- Returns
-
- __objGetMethodList() return an array of character stings with all METHOD names for a given object. __objGetMethodList() would return an empty array {} if the given object does not contain any METHOD.
- Description
-
- __objGetMethodList() is a low level class support function that let you find all class functions names for a given object. It is equivalent to __objGetMsgList( oObject, .F. ).
Examples
// show information about TBrowse class
oB := TBrowseNew( 0, 0, 24, 79 )
aMethod := __objGetMethodList( oB )
FOR i = 1 to len ( aMethod )
? "METHOD name:", aMethod[ i ]
NEXT
- Status
- Ready
- Compliance
-
- __objGetMethodList() is a Harbour extension.
- Files
-
- Library is rtl
- See Also