FindPropertyObject Function
OmoguÄava da se objekti adresiraju na run-time kao parametar niza znakova koriÅ”teÄi ime objekta.
Na primjer, sljedeÄa komanda:
odgovara komandnom bloku:
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
Ovo omoguÄava imenima da se dinamiÄki kreiraju pri izvoÄenju. Na primjer:
"TextEdit1" to "TextEdit5" in a loop to create five control names.
See also: FindObject
Syntax:
FindPropertyObject( ObjVar, PropName As String )
Parametri:
ObjVar: Object variable that you want to dynamically define at run-time.
PropName: String that specifies the name of the property that you want to address at run-time.
12 varijable nisu definirane
52 Invalid file name or file number