URGENT
-
Private Type RECT left As Long top As Long Right As Long Bottom As Long X As Long y As Long data As String color As Long index As Integer End Type dim Die() as RECT I have a class module which populates this array for RECTs from xml fie Now i want to pass this array to Form which will then use and modify this data.i want to pass it byref so that form will modify data of this instance of class. VB is not allowing me to pass this array as argument to a function. Anybody can suggest how should i modify this data of class from form. This is very urgent thanx in advance Tushar
-
Private Type RECT left As Long top As Long Right As Long Bottom As Long X As Long y As Long data As String color As Long index As Integer End Type dim Die() as RECT I have a class module which populates this array for RECTs from xml fie Now i want to pass this array to Form which will then use and modify this data.i want to pass it byref so that form will modify data of this instance of class. VB is not allowing me to pass this array as argument to a function. Anybody can suggest how should i modify this data of class from form. This is very urgent thanx in advance Tushar
Wrap it in a class module and then pass the class module, and put properties in the class module so it looks like the original type definition. -- Andrew.
-
Wrap it in a class module and then pass the class module, and put properties in the class module so it looks like the original type definition. -- Andrew.