TiSwitchPanel.BorderStyle

TiSwitchPanel

Specifies the outer border style of the control.

type TiSwitchPanelBorderStyle = (ispbsLine, ispbsRaised, ispbsLowered, ispbsTop, ispbsNone);

property BorderStyle : TiSwitchPanelBorderStyle ;

Description

Use BorderStyle to provide the control with a three-dimensional beveled look or to change the special border styles of the component.

These are the possible values:

Value
Meaning
ispbsLine
The outer border is a single line around all panels in the component.
ispbsRaised
The outer border is raised.
ispbsLowered
The outer border is lowered.
ispbsTop
The Panel underneath the Knob now has two, independent colors, one color for the area above the top half of the Knob specified by BackGroundColorTop and one color for the area below the top half of the Knob specified by BackGroundColor.
ispbsNone
No border is drawn around the component.

Example

Delphi

iComponent.BorderStyle := ispbsRaised;

C++ Builder

iComponent->BorderStyle = ispbsRaised;

Contents | Index | Previous | Next