Dim ObjVar as Object
Dim ObjProp as Object
ObjName As String = "MyObj"
ObjVar = FindObject( ObjName As String )
PropName As String = "Prop1"
ObjProp = FindPropertyObject( ObjVar, PropName As String )
ObjProp.Command = 5
이것은 이름을 런타임에 동적으로 만들 수 있게 합니다.
"TextEdit1" to "TextEdit5" in a loop to create five control names.