FindObject Function [Runtime]/text/sbasic/shared/03103800.xhpSun Microsystems, Inc.converted from old format - fpeFindObject functionFindObject Function [Runtime]Enables an object to be addressed at run-time as a string parameter through the object name.For example, the following command:MyObj.Prop1.Command = 5corresponds to the command block:Dim ObjVar as ObjectDim ObjProp as ObjectObjName As String = "MyObj"ObjVar = FindObject( ObjName As String )PropName As String = "Prop1"ObjProp = FindPropertyObject( ObjVar, PropName As String )ObjProp.Command = 5This allows names to be dynamically created at run-time. For example:"TextEdit1" to TextEdit5" in a loop to create five control names.See also: FindPropertyObjectSyntax:FindObject( ObjName As String )Parameters:ObjName: String that specifies the name of the object that you want to address at run-time.