At 01:18 PM 12/2/99 -0800, Rameswar wrote:

>Hi,
>I have a problem with the Migration methods(from 3.0 to 4.0) DataObject events
>in 3.0 it is like the following :
>protected int onBeforeDataObjectExecuteEvent (CSpDataObject dataObject)
>
>in 4.0 it is as follows:
>public int this_onBeforeDataObjectExecuteEvent(CSpDataDrivenVisualEvent event)

1.  Looks like maybe a code cloning problem.  The argument above s/b a 
CSpDataObjectEvent.

2.  To get a reference to the underlying data object:

CSpDataObject dataObject = (CSpDataObject) event.getSource();

-- Curt Springer, Team ND



>the problem is i am trying to change from (3.0 to 4.0) the methods as they 
>look like
>  in 4.0. when i am trying to change them manually, i am getting conflict 
> with the
>  "dataObject" with "event", as my dataObject is referencing the 
> dataObject. How can
>  i get around with it...can anyone have any suggestions..
>
>Thanks in adavnce
>Rameswar
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to