Unit WinSplit |
***************************************************************************** TWinSplit Copyright © Bill Menees bmenees@usit.net http://www.public.usit.net/bmenees This is a window splitting component similar to the one used in the Win95 Explorer. To use it, you must assign a control to the TargetControl property. This sets the Cursor property, and a bunch of private properties including the Align property. The TargetControl is the control that gets resized at the end of the window "split" operation. Thus, TargetControl must have an alignment in [alLeft, alRight, alTop, alBottom]. The other useful properties introduced are MinTargetSize and MaxTargetSize. These determine how small or large the Width or Height of the TargetControl can be. If MaxTargetSize = 0 then no maximum size is enforced. Note 1: Even though TWinSplit is decended from TCustomPanel, don't think of it as a panel. I only published the panel properties useful to TWinSplit and none of the panel events. I even made it where it won't act as the container for controls placed on it at design time. Note 2: Some drawing code is from Borland's Resource Explorer example.
Classes |
Functions |
Register - ****************************************************************************} {** Non-Member Functions ******************************************************} {
Types |
Constants |
Variables |
Functions |
Types |
TWinSplitOrientation = (wsVertical, wsHorizontal);
Constants |
Variables |