| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- {========================================================================}
- {= (c) 1995-98 SwiftSoft Ronald Dittrich =}
- {========================================================================}
- {= All Rights Reserved =}
- {========================================================================}
- {= D 01099 Dresden = Tel.: +0351-8012255 =}
- {= Loewenstr.7a = info@swiftsoft.de =}
- {========================================================================}
- {= Actual versions on http://www.swiftsoft.de/mmtools.html =}
- {========================================================================}
- {= This code is for reference purposes only and may not be copied or =}
- {= distributed in any format electronic or otherwise except one copy =}
- {= for backup purposes. =}
- {= =}
- {= No Delphi Component Kit or Component individually or in a collection=}
- {= subclassed or otherwise from the code in this unit, or associated =}
- {= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =}
- {= without express permission from SwiftSoft. =}
- {= =}
- {= For more licence informations please refer to the associated =}
- {= HelpFile. =}
- {========================================================================}
- {= $Date: 20.01.1998 - 18:00:00 $ =}
- {========================================================================}
- unit MMSplit;
- {$I COMPILER.INC}
- interface
- uses
- {$IFDEF WIN32}
- Windows,
- {$ELSE}
- WinProcs,
- WinTypes,
- {$ENDIF}
- Messages,
- SysUtils,
- Classes,
- Controls,
- Forms,
- Graphics,
- ExtCtrls,
- Menus,
- DsgnIntf,
- MMObj,
- MMString,
- MMUtils;
- type
- {-- TMMSplitter -------------------------------------------------------}
- TMMSplitter = class(TMMCustomPanel)
- public
- constructor Create(AOwner: TComponent); override;
- published
- property OnClick;
- property OnDblClick;
- property OnDragDrop;
- property OnDragOver;
- property OnEndDrag;
- property OnEnter;
- property OnExit;
- property OnMouseDown;
- property OnMouseMove;
- property OnMouseUp;
- property OnResize;
- {$IFDEF WIN32}
- property OnStartDrag;
- {$ENDIF}
- property Bevel;
- property DragCursor;
- property DragMode;
- property Enabled;
- property Color;
- property Ctl3D;
- property ParentColor;
- property ParentCtl3D;
- property ParentShowHint;
- property PopupMenu;
- property ShowHint;
- property TabOrder;
- property TabStop;
- property Visible;
- property OnSplit: TMouseMoveEvent read FOnSplit write FOnSplit;
- property OnSplitBegin: TNotifyEvent read FOnSplitBegin write FOnSplitBegin;
- property OnSplitEnd: TNotifyEvent read FOnSplitEnd write FOnSplitEnd;
- property Height default 3;
- property Fixed: Boolean read FFixed write SetFixed default False;
- property AutoControl: Boolean read FAutoControl write FAutoControl default False;
- property MinOffset: integer read FMinOffset write FMinOffset default 0;
- property MaxOffset: integer read FMaxOffset write FMaxOffset default 0;
- property SplitterSize: integer read FSplitterSize write SetSplitterSize default 4;
- property SizeControl: TWinControl read FSizeControl write SetSizeControl;
- property DrawSolid: Boolean read FSolid write FSolid default False;
- end;
- {-- TMMSplitterSizeControlEditor --------------------------------------}
- TMMSplitterSizeControlEditor = class(TComponentProperty)
- public
- procedure GetValues(Proc: TGetStrProc); override;
- end;
- implementation
|