FindPropertyObject Function
κ°μ²΄ μ΄λ¦μ μ¬μ©νμ¬ κ°μ²΄λ₯Ό λ°νμμ λ¬Έμμ΄ λ§€κ° λ³μλ‘ μ§μ ν μ μκ² ν©λλ€.
μλ₯Ό λ€μ΄, λ€μ λͺ
λ Ήμ
λ€μ λͺ
λ Ή λΈλ‘μ ν΄λΉν©λλ€.
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.
μ°Έκ³ νλͺ©: FindObject
ꡬ문:
FindPropertyObject( ObjVar, PropName As String )
λ§€κ° λ³μ:
ObjVar: λ°νμμ λμ μΌλ‘ μ§μ ν κ°μ²΄ λ³μμ
λλ€.
PropName: λ°νμμ μ§μ ν μμ±μ μ΄λ¦μ μ§μ νλ λ¬Έμμ΄μ
λλ€.
5 μλͺ»λ νλ‘μμ νΈμΆμ
λλ€.
12 λ³μκ° μ§μ λμ§ μμμ΅λλ€.
14 μλͺ»λ λ§€κ° λ³μμ
λλ€.
52 μλͺ»λ νμΌ μ΄λ¦ λλ λ²νΈμ
λλ€.
57 μ₯μΉ μ
/μΆλ ₯(I/O) μ€λ₯μ
λλ€.