property params

(r/w) object params;

Typ

Zugriff

This property is used to manipulate all properties currently stored by the ActiveX container box (objectBox). Setting this property with a dictionary will mean all properties for the object box will be stored in the dictionary provided. Upon read, a copy of property dictionary is returned back.
See the basics::dictionary section for more details.
function SetupCalendar()
{
    var objbx = scene.getBoxById("calendar");
    if (objbx && (objbx.progid == "MSCAL.Calendar"))
    {
        var params = shell.serviceManager.basics.dictionary;
        if (params)
        {
           params.setValueForKey("myOption1Value", "OptionOne");
           params.setValueForKey("myOption2Value", "OptionTwo");

           objbx.params = params;
        }
    }
}