Changeset 207 for Docking/CoolDocking/Managers/UCDManagerRegions.pas
- Timestamp:
- Mar 18, 2011, 11:05:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerRegions.pas
r198 r207 67 67 //R := Control.ClientRect; 68 68 //Canvas.FillRect(R); 69 Header.Visible := ShowHeader; 70 if ShowHeader then begin 69 if Visible then begin 71 70 if ControlPanel.DockClientCount = 0 then 72 71 Header.DrawGrabber(Canvas, Control) else … … 162 161 163 162 NewItem.PanelHeader.Parent := DockSite; 164 NewItem.PanelHeader.Header.Title.Caption := TForm(Control).Caption;165 163 166 164 NewItem.Control := Control; … … 290 288 PanelHeader.Width := Self.DockSite.Width div 291 289 Self.DockSite.DockClientCount; 290 PanelHeader.Header.Visible := TCDManager(TWinControl(Control).DockManager).HeaderVisible; 291 PanelHeader.Header.Title.Caption := TForm(Control).Caption; 292 292 Paint(Self); 293 293 if I < (DockItems.Count - 1) then PanelHeader.Align := BaseAlign
Note:
See TracChangeset
for help on using the changeset viewer.