Defines an Arrow symbol widely used in forms.

arrow.pp implements a control used to draw an arrow. Its size, direction, color and shadow can be adjusted. It is part of the Lazarus Component Library (LCL).

The following components are added to the Lazarus IDE component palette:

Misc Tab

- TArrow

Represents the direction the arrow is oriented in TArrow.
The arrow points in the upward direction.
The arrow points in the downward direction.
The arrow points to the left.
Th arrow points to the right.
Represent shadow drawing styles used in TArrow.
A shadow is not drawn.
A shadow is drawn with an inset style.
A shadow is drawn with an outset style.
A shadow is drawn with an inset style and an etched border.
A shadow is drawn with an outset style and an etched border.
A shadow is drawn with a filled style.
TArrow
- an arrow symbol widely used in forms.
Constructor for the class instance.

Create is the overridden constructor for the class instance, and calls the inherited method on entry. Create sets the default values for properties, including:

- Constraints
- ArrowType
- ArrowPointerAngle
- ShadowType
- ShadowColor
- ArrowColor

TComponent.Create
Owner of the class instance.
Color used to draw the arrow symbol on the control.

The default value for the property is clBlack.

ArrowType
- pointing up, down, left or right.

ArrowType is a TArrowType property which indicates the direction for the arrow pointer on the control. The default value for the property is atLeft. Changing the value for the property causes the control to be redrawn.

Size of the angle that forms the arrow pointer.

ArrowPointerAngle is an Integerproperty with the size of the angle (in degress) that forms the arrow pointer for the control. It determines the size in degrees for the angles on the base of the arrow pointer. ArrowPointerAngle must be in the range specified by the cMinAngle and cMaxAngle constants in the implementation for the control. The default value for the property is 60, and causes all three angles in the arrow pointer to measure 60 degrees.

ArrowPointerAngle is used to calculate the points for the arrow pointer triangle.

ShadowType
- the type of shadowing: None, In, Out, EtchedIn, EtchedOut.
Color used to draw the shadow on the control.

ShadowColor is a TColor property with the color used to draw the shadow on the control (when enabled). The default value for the property is cl3DShadow. Changing the value for the property causes the control to be redrawn.

ShadowColor is used, along with ShadowType, in the Paint method to draw the triangle for the shadow on the control. The property value is used as both the pen and the brush color for the shadow triangle.

Registers components for use in the Lazarus IDE.

The following components are added to the Lazarus IDE component palette:

Misc Tab

- TArrow