Ignore:
Timestamp:
Mar 22, 2011, 11:32:28 AM (14 years ago)
Author:
george
Message:
  • Fixed: If control docked to panel owned by main form then it was possible to redock main form to conjoin form.
  • Modified: Header title is now painted to canvas instead of use of TLabel. This will be necessary to draw rotated text later.
  • Added: Length of header title is now reduced to not overlap to header buttons area.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/Managers/UCDManagerTabsPopup.pas

    r208 r217  
    246246    C.Align := alClient;
    247247    C.Parent := HeaderPanel.ControlPanel;
    248     HeaderPanel.Header.Title.Caption := C.Caption;
    249248    //AutoHide.Control.Align := alCustom;
    250249    //Pos := DockSite.ClientToScreen(Pos);
     
    328327      NewItem.IconImage.Picture.Assign((Control as TForm).Icon);
    329328
    330     NewItem.Control := Control;
     329    NewItem.Control := TWinControl(Control);
    331330    Control.AddHandlerOnVisibleChanged(NewItem.VisibleChange);
    332331    //AControl.Parent := NewItem.ClientAreaPanel;
Note: See TracChangeset for help on using the changeset viewer.