Let me, for the time being, not wonder about getEventName() and its
usefulness.

It is a method of CSpCommand. When you say 'this', 'this' is a CSpPage.
Probably what you need to do is replace >> this.getEventName() << 
with
>> ((CSpCommand) event.getSource()).getEventName() <<
(assuming you are doing this inside _onWebEvent of some button.

Aby

-----Original Message-----
From: Ray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 19, 1999 10:19 AM
To: [EMAIL PROTECTED]
Subject: [ND] Method getEventName()



I get an error when compiling a page on the following statement:

CSpHtml.sendMessage("<br>this.currentEventName = " + this.getName() + "." +
this.getEventName());

The error is that method getEventName() cannot be found in class <PgName>.

Class spider.visual.CSpCommand.* is imported in the page.  Can anyone tell
me why
the compiler cannot find the method (I'm running ND4.x)?
_________________________________________________________________________

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