Preview:
 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);
    }
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter