方式一、菜单栏 --> 格式 --> 保护 方式二、用鼠标右键单击组件, 格式 --> 保护 。 转自:http://blog.163.com/chen_dawn/blog/static/112506320149182812585/