modify the property of controls