How to access member class of activex control
- From: esoxhuntr@xxxxxxxxxxx
- Date: 10 Jul 2006 08:29:32 -0700
I'm creating an activex custom media player and have added methods
which are accessible from Javascript using DISP_FUNCTION. This works,
for instance by calling Player.Play() Player.Stop(), etc from
javascript in IE. However what I like to do, is be able to call the
appropriate member class of my activex control directly to handle
commands, keeping methods where they belong, inside the class. The
correct Javascript syntax would be Player.Controller.Play(), or
Player.View.GoFullscreen() etc.
I've seen this syntax in Javascript with other activex controls so I
know it can be done, for instance how Windows Media Player control is
manipulated from Javascript using Player.Controls.Play()
I've searched but haven't been able to find the answer, hopefully
someone here can help.
Thanks!
.
- Follow-Ups:
- Re: How to access member class of activex control
- From: Ajay Kalra
- Re: How to access member class of activex control
- Prev by Date: Re: list control
- Next by Date: Re: ComponentOne Flexgrid 8.0 Light problem
- Previous by thread: transparency in dlg
- Next by thread: Re: How to access member class of activex control
- Index(es):
Relevant Pages
|