The setProperty method of the ActiveXControl Class contains the following signatures:
setProperty(String name, String value)
setProperty(String name, int value)
setProperty(String name, short value)
setProperty(String name, boolean value)
setProperty(String name, long value, int flag)
setProperty(String name, double value)
setProperty(String name, double value, int flag)
setProperty(String name, float value)
setProperty(String name, Variant value)
Sets a string property of the ActiveX control.
public void setProperty(String name, String value);
name | The name of the property that is set. |
value | The string value of the property. |
Sets an integer property of the ActiveX control.
public void setProperty(String name, int value);
name | The name of the property that is set. |
value | The integer value of the property |
Sets a short integer property of the ActiveX control.
public void setProperty(String name, short value);
name | The name of the property that is set. |
value | The short integer value of the property. |
Sets a boolean property of the ActiveX control.
public void setProperty(String name, boolean value);
name | The name of the property that is set. |
value | The boolean value of the property. |
Sets a currency property of the ActiveX control.
public void setProperty(String name, long value, int flag);
name | The name of the property that is set. |
value | The value of the property |
flag | Indicates how to set the property. If the value is CURRENCY, the property type is set to indicate currency; otherwise, the method returns without setting a property. |
Sets a double property of the ActiveX control.
public void setProperty(String name, double value);
name | The name of the property that is set |
value | The value of the property. |
Sets a double or a date property of the ActiveX control.
public void setProperty(String name, double value, int flag);
name | The name of the property that is set. |
value | The double value of the property |
flag | The value that determines how to set the property type. If the value is DATE, the property type is set to indicate a date; if the value is DOUBLE, the property type is set to indicate a double. |
Sets a float property of the ActiveX control.
public void setProperty(String name, float value);
name | The name of the property that is set. |
value | The float value of the property. |
Sets a variant property of the ActiveX control.
public void setProperty(String name, Variant value);
name | The name of the property to set. |
value | The value of the property. |
setProperty(String,Variant) in ActiveXComponent.