public void init() { #SysSystemDefinedButtons formCommandButtonControl delb,newb; FormRun _formRun = this as FormRun; this.form().design().ViewEditMode(1); next init(); delb = this.control(this.controlId(#SystemDefinedDeleteButton)) as formCommandButtonControl; newb = this.control(this.controlId(#SystemDefinedNewButton)) as formCommandButtonControl; newb.visible(false); delb.visible(false); }