Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Communicating between user-objects via NVO

9 views
Skip to first unread message

John Ardila

unread,
Jun 10, 2003, 11:20:17 AM6/10/03
to
I have successfully assigned values to instance variables in an NVO invoked
by one user object. How can another user object access those values assigned
within the NVO?


John Olson [Team Sybase]

unread,
Jun 17, 2003, 11:39:13 AM6/17/03
to
Two direct ways to do this are:

1. reference the same NVO instance from each object that needs those values.
To do this you'd need to make the NVO's reference available by passing it
around. The point is that the values are contained with a specific instance
of the NVO. Every object that needs to reference those values must reference
that NVO instance.

2. set those instance variables to be shared variables. In this case every
instance of the NVO class will have access to the same values. So all
objects that need those values can simply reference any instance of the NVO.

Regards,
John
Team Sybase

"John Ardila" <ardil...@hotmail.com> wrote in message
news:eyDdJS2LDHA.187@forums-2-dub...

0 new messages