Thanks Chris for the explanation (VB is not a strength for me!)... anyway, I
am not aware of anything like what you describe in JS or Java, but I am far
from the definitive source on the subject!

-----Original Message-----
From: Matthew Alan Shirey [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] JavaScript Question


Yes that's correct.  I am interested if the is JavaScript equivalent.

M.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Strolia-Davis Christopher Contr MSG MAM
Sent: Friday, February 02, 2001 2:48 PM
To: ''[EMAIL PROTECTED]' '
Subject: RE: [Dynapi-Help] JavaScript Question


Hi Jack,

I haven't posted to this group before, so you won't have seen me.  Nice to
meet you, how are you?, etc.

Anyway, a default method would normally be something that is called or run
just by using the name of the object.

So if you had something like

MyObject.Runall(this,that,theotherthing)

as your default, you could run it by simply putting in something like

MyObject(this,that,theotherthing)

I am actually using my experience as a Visual Basic programmer to field this
one, so if it is not quite the same in IE, someone let me know.

Hope this helps,

Chris

-----Original Message-----
From: Jack_Speranza
To: '[EMAIL PROTECTED]'
Sent: 2/2/01 5:17 PM
Subject: RE: [Dynapi-Help] JavaScript Question

OK, I'm really gonna show my ignorance here... what do you mean by a
"default" method?

-----Original Message-----
From: Matthew Alan Shirey [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 4:58 PM
To: Dynapi-Help
Subject: [Dynapi-Help] JavaScript Question


Hey all,

This isn't really DynAPI related but it is JS related.
Is there a way to define a default method for a JavaScript object?
VBScript
has this ability but so far I have not been able to find the same thing
in
JavaScript...

Thanks,

-- Matthew


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to