Download Now

    Reference TSplitter

    Declared in Codebot.Controls.Containers.pas on line 28

    TSplitter allows containers to be drag resized
      TSplitter = class(TChangeNotifier)
      public
        { Create a new splitter }
        constructor Create;
        { Assign the object from a source }
        procedure Assign(Source: TPersistent); override;
      published
        { The control can be resized with the mouse }
        property Enabled: Boolean read FEnabled write SetEnabled default False;
        { The minimum size the control can be resized to with the mouse }
        property MinSize: Integer read FMinSize write SetMinSize default 10;
        { The minimum space remaining in the parent control }
        property MinRemain: Integer read FMinRemain write SetMinRemain default 10;
        { When visible is true child controls are arranged to not occupy the
          splitter area }
        property Visible: Boolean read FVisible write SetVisible default True;
        { The size of the splitter area when visible }
        property Margin: Integer read FMargin write SetMargin default 4;
      end;

    See also

    TChangeNotifier in Codebot.System.pas