Updated: 12.06.2017
Rus

New in the AlphaControls 2017 (version 12)

New components

TsFloatButtons

This component is a collection of buttons which may be placed in any place of form, including borders and title area. Buttons are placed over all other controls. They may be painted using current skin sections, standard Windows theme or custom images.

Download Download and look the demo-application

TsArcHandle

Represents a general-purpose knob-style rotating button.

Use a TsArcHandle button in applications wherever you need to provide the user with a rotating button that resembles a knob.

This arc dial control variates its Value in degrees, so if you want to use it as a linear control for varying the progress of a progress bar, for instance, use the TextContent property (available values: tcAngle, tcCustom, tcPercent, tcValue).

Control whether this arc dial component displays the value or not using the ShowText property.

Use Images and ImageIndex properties for showing of a custom glyph.

TsArcDial

Represents a knob-style rotating button with specified minimal and maximal values and with arc dial.

Use a TsArcDial button in applications wherever you need to provide the user with a rotating button if value of the control should have minimal and maxmal values.

Control whether this arc dial component displays the value or not using the ShowText property.

Use Images and ImageIndex properties for showing of a custom glyph.

TsArcGauge

A simple arc style gauge with support of AlphaSkins.

Use Min, Max and Position properties for controlling of the component value.

Control whether this component displays the value or not using the ShowText property.

Use Images and ImageIndex properties for showing of a custom glyph.

TsArcPreloader

A simple animated indicator of any loading process.

Use the ImageType property for specifiyng of a control style. Available values: itLine (default), itMask1, itMask2, itCustomImage, itCustomMask. If itCustomMask option is choosen then changing of the image color is possible by the LineColor property.

Use the MotionType property for changing of animation type.

Animation process may be started or stopped byt the Animated property.

Control whether this component displays the value or not using the ShowText property.

Use Images and ImageIndex properties for showing of a custom glyph.

TsRollOutPanel

Panel which have a title button and may be collapsed/expanded with all content.

TsRoundBtn

Round button with changeable radius.

TsImgLabel

Label with possibility of glyphs showing.

Download Download and look the demo-application with these new controls
New properties

Gradients with semi-transparency

Added possibility of using gradients with custom opacity values in skins. A special editor has been added in the ASkinEditor tool.

Added support of new gradients in the TsGradientPanel component.

TsFrameBar.DragItems

The property allows to reorder items by mouse in the run-time.

If the DragItems property is enabled then all items are collapsed and may be moved by user. Use the Items collection for saving/restoring of items order when application is closed/runned.

The UseAlpha property in the TsColorDialog and TsColorBox components

The property allows to specify a value of the alpha-channel in the selected color.

The ParentFont option added in the BoundsLabel property

Keep disabled this option if label should have own custom font.

The TsTitleBar.OnDrawItem event

Use this event if own painting should be made in the TitleBar items.

The spNone parameter added in the TsPageScroller.ScrollPosition property

Use this parameter if scroll buttons should not be visible.

The ShowArrow property in the TsFrameBar items

This parameter allows to show an animated arrow in the TsFrameBar items.

New "acntUtils.pas" unit with some GDI+ procedures added
procedure acgpDrawEllipse(DC: hdc; X, Y, Width, Height: Single; Color: TColor; PenWidth: Single = 1);

Draws an ellipse without a filling.

procedure acgpDrawLine(DC: hdc; X1, Y1, X2, Y2: Single; Color: TColor; PenWidth: Single = 1);

Draws a line that connects two points.

procedure acgpFillEllipse(DC: hdc; X, Y, Width, Height: Single; Color: TColor);

Fill the interior of an ellipse by custom color.

procedure acgpStretchRect(DstBmp, SrcBmp: TBitmap; SrcX, SrcY, SrcWidth, SrcHeight: integer);

Stretches a rectangle from a sources bitmap to destination bitmap.

procedure acgpDrawArc(DC: hdc; X, Y, Width, Height, StartAngle, SweepAngle: Single; Color: TColor; PenWidth: Single = 1);

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a color, angle, a width and a height.

Procedure acgpFillRectangle(DC: hdc; Brush: Pointer; X, Y, Width, Height: Single);

Uses a brush to fill the interior of a rectangle.

Procedure acgpGradientRectangle(DC: hdc; X, Y, Width, Height: Single; Points: TGradPoints; Colors: TGradColors; CenterColor: TsColor);

Uses set of points and set of colors to fill the interior of a rectangle gradient.

Procedure acgpGradientRectangleH(DC: hdc; X, Y, Width, Height: Single; Color1, Color2: TColor);

Uses two colors to fill the interior of a rectangle by horizontal gradient.

Procedure acgpGradientRectangleV(DC: hdc; X, Y, Width, Height: Single; Color1, Color2: TColor);

Uses two colors to fill the interior of a rectangle by vertical gradient.

Other changes
New type of default arrows

Added possibility to change a looking of default arrows. The "Arrow line width" field has been added in the ASkinEditor tool (the "General skin options"/"Additional" page). If value of the field is 0 then arrows are drawn as filled triangle (old style).

Type of the TsSpinEdit value changed from Longint to Int64

The TsSkinProvider.ResizeMode property is obsolete and has the rmStandard value only (for a backward compatibility)