17/04/13 17:10
orma674
Buonasera a tutti,
volevo un aiuto inerente la costruzione di una classe.
Vorrei sapere se posso dichiarare una struttura in una classe come publica e richiamarla da form.
es:
Class1
structure str1
structure str2
structure str3
function rtnNumber (byval vNumber as string) as string
return vNumber
end function
end structure
end structure
end structure
end class
form1
button1.text = class1.str1.str2.str3.rtnNumber("10"
Grazie per la collaborazione
Marcello
volevo un aiuto inerente la costruzione di una classe.
Vorrei sapere se posso dichiarare una struttura in una classe come publica e richiamarla da form.
es:
Class1
structure str1
structure str2
structure str3
function rtnNumber (byval vNumber as string) as string
return vNumber
end function
end structure
end structure
end structure
end class
form1
button1.text = class1.str1.str2.str3.rtnNumber("10"
Grazie per la collaborazione
Marcello
aaa