Thursday, March 29, 2012

Setting properties and methods to an activex control

How to set properties to an activex control ?
So that i can use it as
Activex.propertyname = variable;
or
variable = Activex.propertyname;Activex.propertyname = variable

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

"Nayak" <udayvkumar@.yahoo.com> wrote in message
news:eHymbmXfFHA.2392@.TK2MSFTNGP10.phx.gbl...
> How to set properties to an activex control ?
> So that i can use it as
> Activex.propertyname = variable;
> or
> variable = Activex.propertyname;
The activex control has to expose the property first. Then, you need to get
the correct reference to it on your form.

Use frmName.getElementsByTagName('activexcontrolname') ;
--
Staff Consultant II - Enterprise Web Services - Cardinal Solutions Group

Future Business Model - National City Mortgage

"Nayak" wrote:

> How to set properties to an activex control ?
> So that i can use it as
> Activex.propertyname = variable;
> or
> variable = Activex.propertyname;
>
>

0 comments:

Post a Comment