ObjectToStr
- Last UpdatedFeb 28, 2024
- 1 minute read
Converts an object handle to a string. This means you can print the object handle in a trace message, which allows you confirm if the handle is valid.
Syntax
STRING ObjectToStr(hObject)
hObject:
The handle for the object (as returned by the ObjectByName function).
Return Value
A string containing the converted object handle
Related Functions
ObjectByName, CreateObject, CreateControlObject