Changeset 462 for Docking/CoolDocking/Managers/UCDManagerRegions.pas
- Timestamp:
- May 5, 2013, 12:15:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Managers/UCDManagerRegions.pas
r437 r462 6 6 7 7 uses 8 Classes, SysUtils, Controls, ExtCtrls, StdCtrls, Forms, 8 Classes, SysUtils, Controls, ExtCtrls, StdCtrls, Forms, Dialogs, Types, 9 9 Graphics, Contnrs, Buttons, UCDCommon, UCDManager, 10 10 LCLType, LMessages; … … 285 285 end; 286 286 if (Control is TForm) and Assigned((Control as TForm).Icon) then begin 287 (Control as TForm).Icon.Current := (Control as TForm).Icon.GetBestIndexForSize( 288 Size(NewItem.PanelHeader.Header.Height, NewItem.PanelHeader.Header.Height)); 287 289 NewItem.PanelHeader.Header.Icon.Picture.Assign((Control as TForm).Icon); 288 290 NewItem.PanelHeader.Header.Icon.Width := NewItem.PanelHeader.Header.Icon.Picture.Bitmap.Width;
Note:
See TracChangeset
for help on using the changeset viewer.