Ignore:
Timestamp:
Mar 7, 2011, 4:16:02 PM (13 years ago)
Author:
george
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/UCoolDockClientPanel.pas

    r103 r177  
    100100    if Assigned(DockStyleHandler) then
    101101    with DockStyleHandler do begin
     102      //UpdateClientSize;
    102103      if ControlVisible then
    103104        Switch(DockPanels.IndexOf(FindControlInPanels(TControl(Sender))));
    104       //UpdateClientSize;
     105      if not (Control is TWinControl) then raise Exception.Create('Not TWinControl');
     106      if not Assigned(Control) then raise Exception.Create('Control not assigned');
    105107      ChangeVisible(TWinControl(Control), ControlVisible);
    106108      // Show parent control
Note: See TracChangeset for help on using the changeset viewer.