Microsoft Dynamics 365 Blog

How can you disable copying from form using CTRL + C or menu (Edit -> Copy)?


It’s quite easy!
On the form you can override copy() method in following way:


public boolean copy()

    ;
    WinApi::emptyclipboard();

    return true;
}

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!