Changeset 215 for Docking/CoolDocking/Managers/UCDManagerRegions.pas
- Timestamp:
- Mar 22, 2011, 8:20:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerRegions.pas
r213 r215 60 60 begin 61 61 inherited VisibleChange(Sender); 62 PanelHeader.Visible := Control.Visible; 63 Manager.UpdateClientSize; 62 with TCDManagerRegions(Manager) do begin 63 //if TControl(Sender).Visible then begin 64 // TCDManagerRegionsItem(DockItems[DockItems.IndexOf(FindControlInPanels(TControl(Sender)))]).HideType := dhtPermanent; 65 //end; 66 UpdateClientSize; 67 end; 64 68 end; 65 69 … … 306 310 PanelHeader.Header.Visible := TCDManager(TWinControl(Control).DockManager).HeaderVisible; 307 311 PanelHeader.Header.Title.Caption := TForm(Control).Caption; 312 PanelHeader.Visible := Control.Visible; 308 313 Paint(Self); 309 314 if I < (DockItems.Count - 1) then PanelHeader.Align := BaseAlign
Note:
See TracChangeset
for help on using the changeset viewer.