home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Plus! (NZ) 2001 June
/
HDC50.iso
/
Runimage
/
Delphi50
/
Doc
/
TOOLWIN.INT
< prev
next >
Wrap
Text File
|
1999-08-11
|
2KB
|
60 lines
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995,99 Inprise Corporation }
{ }
{*******************************************************}
unit ToolWin;
{$R-,H+,X+}
interface
uses Windows, Messages, Classes, Controls, Forms;
type
{ TToolWindow }
TEdgeBorder = (ebLeft, ebTop, ebRight, ebBottom);
TEdgeBorders = set of TEdgeBorder;
TEdgeStyle = (esNone, esRaised, esLowered);
TToolWindow = class(TWinControl)
public
constructor Create(AOwner: TComponent); override;
property EdgeBorders: TEdgeBorders default [ebLeft, ebTop, ebRight, ebBottom];
property EdgeInner: TEdgeStyle default esRaised;
property EdgeOuter: TEdgeStyle default esLowered;
end;
{ TToolDragDockObject }
TToolDockObject = class(TDragDockObject)
protected
procedure AdjustDockRect(ARect: TRect); override;
procedure DrawDragDockImage; override;
procedure EraseDragDockImage; override;
public
constructor Create(AControl: TControl); override;
end;
{ TToolDockForm }
TSizingOrientation = (soNone, soHorizontal, soVertical);
TToolDockForm = class(TCustomDockForm)
protected
function CanResize(var NewWidth, NewHeight: Integer): Boolean; override;
procedure CreateParams(var Params: TCreateParams); override;
procedure DoAddDockClient(Client: TControl; const ARect: TRect); override;
public
constructor Create(AOwner: TComponent); override;
end;
implementation