Search code examples
delphidevexpressdelphi-xe2ribbon

DevExpress' Ribbon bar: how to disable and hide "Full Screen Button"


Windows 7 SP1 (x86) + Delphi XE2 + DevExpress 2013.1.2 (VCL) + TdxBarManager + skin "Office2013White".

How to disable and hide "Full Screen Button" in design-mode and/or runtime-mode (screenshot of button):

enter image description here

I tried to find it in resources (.pas), then tried to edit skin by dxSkinEditor (.skinres), but failed.

Thanks in advance.


Solution

  • I've found the answer:

    procedure TForm1.FormCreate(Sender: TObject);
    begin
      RibbonAutoHideMode.Enabled := False;
    end;