How to hide a command button

Happy new year! I have a command button that I want to be invisible if a certain boolean is not set. How can one make it dissapear? Or should I contact a “Magic circle” instead?

Looking at your old posts I think you mean Navision, NOT CRM. If you give a Command Button a Name, via properties you can access it in your toolbox. Use CurrForm.ButtonName.Visible

Thanks Mark! I’ll skip to Navision next time.