Rebar.pas: a Rebar look-alike derived from TPanel
Copyright  1997 by Peter Thrnqvist; all rights reserved.
Send suggestions, bugs, praise etc to:  NMA96PTH@STUDENT2.LU.SE

This component is free for you to use any way you want, but I retain all rights to it.

This is a rebar / coolbar type component (as seen in M$ Internet apps) but it lacks some 
of the true rebar's properties, like bands and bitmap that tiles across several bands. 
Yuo'll just have to fake it...

The Gripper is a component by itself, so you could add it to your palette if you want.

Required files: Rebar.pas / Rebar.dcu, Rebap.dcr and Gripper.res

Check out the included example to see how to use it
 
Properties:
 Background: 
  the bitmap to use as a background, will tile automatically
 Caption:
  optional caption to display. Will follow the gripper around if available 
  or adjust to the left
 Gripper:
  a gripper that displays on the left, right or not at all. Triggers 
  OnGripperXXX events so you can handle rezising etc of the rebar

Events:
 OnGripperXXX:
  same as their equivalent standard events but only triggered when cursor is on the
  gripper
 OnCollapse:
  triggered when user clicks caption. Setting Collapse := True will collapse the 
  rebar to  the width of Gripper + Caption.


Have fun.

Regards, Peter