// Setting the property when the object is created var oBtn = oForm.CreateItem("button", "Id1", "Title", "Value:Name;"); var sValue = oBtn.Value; // Reading from the property oBtn.Value = "Name"; // Writing into the property