Hi everyone,
Is there any way to create an Event in a class so that the host application can return data?
i.e. Function instead of Sub.
Example in Host Application:
Private Function class_event() as Integer Handles class.event
class_event=4
End Sub
Example in Class:
return = RaiseEvent(BindRequest("", "", 0, 0))
Hope that makes sense.
Can anyone suggest a way of doing this?
Many thanks
Dan Journo
www.TextOver.com
Is there any way to create an Event in a class so that the host application can return data?
i.e. Function instead of Sub.
Example in Host Application:
Private Function class_event() as Integer Handles class.event
class_event=4
End Sub
Example in Class:
return = RaiseEvent(BindRequest("", "", 0, 0))
Hope that makes sense.
Can anyone suggest a way of doing this?
Many thanks
Dan Journo
www.TextOver.com