TscGPPageControl UI样式代码-灰白风格

漂亮的选项卡 TscGPPageControl 组件UI

效果如下图:





复制如下代码到Delphi IDE的窗体上粘贴即可看到组件 (学习大师原创代码,请勿转载




代码如下:




object PageContorlContentRight: TscGPPageControl

   AlignWithMargins = True

   Left = 3

   Top = 55

   Width = 696

   Height = 634

   Margins.Top = 10

   Align = alClient

   Font.Charset = ANSI_CHARSET

   Font.Color = clWindowText

   Font.Height = -13

   Font.Name = #24494#36719#38597#40657

   Font.Style = [fsBold]

   Font.Quality = fqClearTypeNatural

   ParentFont = False

   TabOrder = 0

   Color = clWhite

   TabsBGFillColor = clNone

   TabsBGFillColorAlpha = 255

   TransparentBackground = True

   FrameWidth = 2

   FrameScaleWidth = False

   FrameColor = clBtnText

   FrameColorAlpha = 80

   BorderStyle = scgpbsNone

   MouseWheelSupport = False

   ShowFocusRect = True

   ShowInActiveTab = True

   ShowCloseButtons = False

   TabsLeftOffset = 0

   TabsRightOffset = 15

   TabsTopOffset = 0

   TabGlowEffect.Enabled = False

   TabGlowEffect.Color = clHighlight

   TabGlowEffect.AlphaValue = 255

   TabGlowEffect.GlowSize = 7

   TabGlowEffect.Offset = 0

   TabGlowEffect.Intensive = True

   TabGlowEffect.StyleColors = True

   TabGlowEffect.HotColor = clNone

   TabGlowEffect.PressedColor = clNone

   TabGlowEffect.FocusedColor = clNone

   TabGlowEffect.PressedGlowSize = 7

   TabGlowEffect.PressedAlphaValue = 255

   TabGlowEffect.States = [scsFocused]

   TabOptions.NormalColor = clSilver

   TabOptions.ActiveColor = clWhite

   TabOptions.MouseInColor = clBtnShadow

   TabOptions.FocusedColor = clWhite

   TabOptions.NormalColorAlpha = 70

   TabOptions.ActiveColorAlpha = 230

   TabOptions.MouseInColorAlpha = 40

   TabOptions.FocusedColorAlpha = 255

   TabOptions.FrameNormalColor = clWhite

   TabOptions.FrameActiveColor = clBtnText

   TabOptions.FrameMouseInColor = clBtnText

   TabOptions.FrameFocusedColor = clBtnText

   TabOptions.FrameWidth = 2

   TabOptions.FrameNormalColorAlpha = 0

   TabOptions.FrameActiveColorAlpha = 0

   TabOptions.FrameMouseInColorAlpha = 0

   TabOptions.FrameFocusedColorAlpha = 0

   TabOptions.FontNormalColor = 10066329

   TabOptions.FontActiveColor = 3355443

   TabOptions.FontMouseInColor = 3355443

   TabOptions.FontFocusedColor = clBtnText

   TabOptions.TabStyle = gptsShape

   TabOptions.ShapeFillGradientAngle = 90

   TabOptions.GradientColorOffset = 30

   TabOptions.ShapeCornerRadius = 1

   TabOptions.StyleColors = True

   TabSpacing = 20

   TabMargin = 22

   ScrollButtonWidth = 20

   TabHeight = 40

   Tabs = <

    item

      Page = scGPPageControlPage13

      Visible = True

      Enabled = True

      ImageIndex = -1

      Caption = #24037#21333#35814#24773

      CustomOptions.NormalColor = clBtnShadow

      CustomOptions.ActiveColor = clBtnFace

      CustomOptions.MouseInColor = clBtnShadow

      CustomOptions.FocusedColor = clBtnFace

      CustomOptions.NormalColorAlpha = 70

      CustomOptions.ActiveColorAlpha = 230

      CustomOptions.MouseInColorAlpha = 40

      CustomOptions.FocusedColorAlpha = 255

      CustomOptions.FrameNormalColor = clBtnText

      CustomOptions.FrameActiveColor = clBtnText

      CustomOptions.FrameMouseInColor = clBtnText

      CustomOptions.FrameFocusedColor = clBtnText

      CustomOptions.FrameWidth = 2

      CustomOptions.FrameNormalColorAlpha = 50

      CustomOptions.FrameActiveColorAlpha = 80

      CustomOptions.FrameMouseInColorAlpha = 60

      CustomOptions.FrameFocusedColorAlpha = 80

      CustomOptions.FontNormalColor = clBtnText

      CustomOptions.FontActiveColor = clBtnText

      CustomOptions.FontMouseInColor = clBtnText

      CustomOptions.FontFocusedColor = clBtnText

      CustomOptions.TabStyle = gptsShape

      CustomOptions.ShapeFillGradientAngle = 90

      CustomOptions.GradientColorOffset = 30

      CustomOptions.ShapeCornerRadius = 5

      CustomOptions.StyleColors = True

      CustomGlowEffect.Enabled = False

      CustomGlowEffect.Color = clHighlight

      CustomGlowEffect.AlphaValue = 255

      CustomGlowEffect.GlowSize = 7

      CustomGlowEffect.Offset = 0

      CustomGlowEffect.Intensive = True

      CustomGlowEffect.StyleColors = True

      CustomGlowEffect.HotColor = clNone

      CustomGlowEffect.PressedColor = clNone

      CustomGlowEffect.FocusedColor = clNone

      CustomGlowEffect.PressedGlowSize = 7

      CustomGlowEffect.PressedAlphaValue = 255

      CustomGlowEffect.States = [scsFocused]

      CustomFrameColor = clNone

      CustomFrameColorAlpha = 255

      ShowCloseButton = True

      UseCustomOptions = False

    end

    item

      Page = PageGuidePic

      Visible = True

      Enabled = True

      ImageIndex = -1

      Caption = #24341#23548#22270

      CustomOptions.NormalColor = clBtnShadow

      CustomOptions.ActiveColor = clBtnFace

      CustomOptions.MouseInColor = clBtnShadow

      CustomOptions.FocusedColor = clBtnFace

      CustomOptions.NormalColorAlpha = 70

      CustomOptions.ActiveColorAlpha = 230

      CustomOptions.MouseInColorAlpha = 40

      CustomOptions.FocusedColorAlpha = 255

      CustomOptions.FrameNormalColor = clBtnText

      CustomOptions.FrameActiveColor = clBtnText

      CustomOptions.FrameMouseInColor = clBtnText

      CustomOptions.FrameFocusedColor = clBtnText

      CustomOptions.FrameWidth = 2

      CustomOptions.FrameNormalColorAlpha = 50

      CustomOptions.FrameActiveColorAlpha = 80

      CustomOptions.FrameMouseInColorAlpha = 60

      CustomOptions.FrameFocusedColorAlpha = 80

      CustomOptions.FontNormalColor = clBtnText

      CustomOptions.FontActiveColor = clBtnText

      CustomOptions.FontMouseInColor = clBtnText

      CustomOptions.FontFocusedColor = clBtnText

      CustomOptions.TabStyle = gptsShape

      CustomOptions.ShapeFillGradientAngle = 90

      CustomOptions.GradientColorOffset = 30

      CustomOptions.ShapeCornerRadius = 5

      CustomOptions.StyleColors = True

      CustomGlowEffect.Enabled = False

      CustomGlowEffect.Color = clHighlight

      CustomGlowEffect.AlphaValue = 255

      CustomGlowEffect.GlowSize = 7

      CustomGlowEffect.Offset = 0

      CustomGlowEffect.Intensive = True

      CustomGlowEffect.StyleColors = True

      CustomGlowEffect.HotColor = clNone

      CustomGlowEffect.PressedColor = clNone

      CustomGlowEffect.FocusedColor = clNone

      CustomGlowEffect.PressedGlowSize = 7

      CustomGlowEffect.PressedAlphaValue = 255

      CustomGlowEffect.States = [scsFocused]

      CustomFrameColor = clNone

      CustomFrameColorAlpha = 255

      ShowCloseButton = True

      UseCustomOptions = False

    end

    item

      Page = PagePicevidence

      Visible = True

      Enabled = True

      ImageIndex = -1

      Caption = #29031#29255#21462#35777

      CustomOptions.NormalColor = clBtnShadow

      CustomOptions.ActiveColor = clBtnFace

      CustomOptions.MouseInColor = clBtnShadow

      CustomOptions.FocusedColor = clBtnFace

      CustomOptions.NormalColorAlpha = 70

      CustomOptions.ActiveColorAlpha = 230

      CustomOptions.MouseInColorAlpha = 40

      CustomOptions.FocusedColorAlpha = 255

      CustomOptions.FrameNormalColor = clBtnText

      CustomOptions.FrameActiveColor = clBtnText

      CustomOptions.FrameMouseInColor = clBtnText

      CustomOptions.FrameFocusedColor = clBtnText

      CustomOptions.FrameWidth = 2

      CustomOptions.FrameNormalColorAlpha = 50

      CustomOptions.FrameActiveColorAlpha = 80

      CustomOptions.FrameMouseInColorAlpha = 60

      CustomOptions.FrameFocusedColorAlpha = 80

      CustomOptions.FontNormalColor = clBtnText

      CustomOptions.FontActiveColor = clBtnText

      CustomOptions.FontMouseInColor = clBtnText

      CustomOptions.FontFocusedColor = clBtnText

      CustomOptions.TabStyle = gptsShape

      CustomOptions.ShapeFillGradientAngle = 90

      CustomOptions.GradientColorOffset = 30

      CustomOptions.ShapeCornerRadius = 5

      CustomOptions.StyleColors = True

      CustomGlowEffect.Enabled = False

      CustomGlowEffect.Color = clHighlight

      CustomGlowEffect.AlphaValue = 255

      CustomGlowEffect.GlowSize = 7

      CustomGlowEffect.Offset = 0

      CustomGlowEffect.Intensive = True

      CustomGlowEffect.StyleColors = True

      CustomGlowEffect.HotColor = clNone

      CustomGlowEffect.PressedColor = clNone

      CustomGlowEffect.FocusedColor = clNone

      CustomGlowEffect.PressedGlowSize = 7

      CustomGlowEffect.PressedAlphaValue = 255

      CustomGlowEffect.States = [scsFocused]

      CustomFrameColor = clNone

      CustomFrameColorAlpha = 255

      ShowCloseButton = True

      UseCustomOptions = False

    end

    item

      Page = scGPPageControlPage16

      Visible = True

      Enabled = True

      ImageIndex = -1

      Caption = #30005#23376#26597#21208#21333

      CustomOptions.NormalColor = clBtnShadow

      CustomOptions.ActiveColor = clBtnFace

      CustomOptions.MouseInColor = clBtnShadow

      CustomOptions.FocusedColor = clBtnFace

      CustomOptions.NormalColorAlpha = 70

      CustomOptions.ActiveColorAlpha = 230

      CustomOptions.MouseInColorAlpha = 40

      CustomOptions.FocusedColorAlpha = 255

      CustomOptions.FrameNormalColor = clBtnText

      CustomOptions.FrameActiveColor = clBtnText

      CustomOptions.FrameMouseInColor = clBtnText

      CustomOptions.FrameFocusedColor = clBtnText

      CustomOptions.FrameWidth = 2

      CustomOptions.FrameNormalColorAlpha = 50

      CustomOptions.FrameActiveColorAlpha = 80

      CustomOptions.FrameMouseInColorAlpha = 60

      CustomOptions.FrameFocusedColorAlpha = 80

      CustomOptions.FontNormalColor = clBtnText

      CustomOptions.FontActiveColor = clBtnText

      CustomOptions.FontMouseInColor = clBtnText

      CustomOptions.FontFocusedColor = clBtnText

      CustomOptions.TabStyle = gptsShape

      CustomOptions.ShapeFillGradientAngle = 90

      CustomOptions.GradientColorOffset = 30

      CustomOptions.ShapeCornerRadius = 5

      CustomOptions.StyleColors = True

      CustomGlowEffect.Enabled = False

      CustomGlowEffect.Color = clHighlight

      CustomGlowEffect.AlphaValue = 255

      CustomGlowEffect.GlowSize = 7

      CustomGlowEffect.Offset = 0

      CustomGlowEffect.Intensive = True

      CustomGlowEffect.StyleColors = True

      CustomGlowEffect.HotColor = clNone

      CustomGlowEffect.PressedColor = clNone

      CustomGlowEffect.FocusedColor = clNone

      CustomGlowEffect.PressedGlowSize = 7

      CustomGlowEffect.PressedAlphaValue = 255

      CustomGlowEffect.States = [scsFocused]

      CustomFrameColor = clNone

      CustomFrameColorAlpha = 255

      ShowCloseButton = True

      UseCustomOptions = False

    end

    item

      Page = scGPPageControlPage17

      Visible = True

      Enabled = True

      ImageIndex = -1

      Caption = #22788#29702#35760#24405

      CustomOptions.NormalColor = clBtnShadow

      CustomOptions.ActiveColor = clBtnFace

      CustomOptions.MouseInColor = clBtnShadow

      CustomOptions.FocusedColor = clBtnFace

      CustomOptions.NormalColorAlpha = 70

      CustomOptions.ActiveColorAlpha = 230

      CustomOptions.MouseInColorAlpha = 40

      CustomOptions.FocusedColorAlpha = 255

      CustomOptions.FrameNormalColor = clBtnText

      CustomOptions.FrameActiveColor = clBtnText

      CustomOptions.FrameMouseInColor = clBtnText

      CustomOptions.FrameFocusedColor = clBtnText

      CustomOptions.FrameWidth = 2

      CustomOptions.FrameNormalColorAlpha = 50

      CustomOptions.FrameActiveColorAlpha = 80

      CustomOptions.FrameMouseInColorAlpha = 60

      CustomOptions.FrameFocusedColorAlpha = 80

      CustomOptions.FontNormalColor = clBtnText

      CustomOptions.FontActiveColor = clBtnText

      CustomOptions.FontMouseInColor = clBtnText

      CustomOptions.FontFocusedColor = clBtnText

      CustomOptions.TabStyle = gptsShape

      CustomOptions.ShapeFillGradientAngle = 90

      CustomOptions.GradientColorOffset = 30

      CustomOptions.ShapeCornerRadius = 5

      CustomOptions.StyleColors = True

      CustomGlowEffect.Enabled = False

      CustomGlowEffect.Color = clHighlight

      CustomGlowEffect.AlphaValue = 255

      CustomGlowEffect.GlowSize = 7

      CustomGlowEffect.Offset = 0

      CustomGlowEffect.Intensive = True

      CustomGlowEffect.StyleColors = True

      CustomGlowEffect.HotColor = clNone

      CustomGlowEffect.PressedColor = clNone

      CustomGlowEffect.FocusedColor = clNone

      CustomGlowEffect.PressedGlowSize = 7

      CustomGlowEffect.PressedAlphaValue = 255

      CustomGlowEffect.States = [scsFocused]

      CustomFrameColor = clNone

      CustomFrameColorAlpha = 255

      ShowCloseButton = True

      UseCustomOptions = False

    end

    item

      Page = PageContorlContentRight_VideoInfo

      Visible = True

      Enabled = True

      ImageIndex = -1

      Caption = #35270#39057#20250#35805#25509#20837

      CustomOptions.NormalColor = clBtnShadow

      CustomOptions.ActiveColor = clBtnFace

      CustomOptions.MouseInColor = clBtnShadow

      CustomOptions.FocusedColor = clBtnFace

      CustomOptions.NormalColorAlpha = 70

      CustomOptions.ActiveColorAlpha = 230

      CustomOptions.MouseInColorAlpha = 40

      CustomOptions.FocusedColorAlpha = 255

      CustomOptions.FrameNormalColor = clBtnText

      CustomOptions.FrameActiveColor = clBtnText

      CustomOptions.FrameMouseInColor = clBtnText

      CustomOptions.FrameFocusedColor = clBtnText

      CustomOptions.FrameWidth = 2

      CustomOptions.FrameNormalColorAlpha = 50

      CustomOptions.FrameActiveColorAlpha = 80

      CustomOptions.FrameMouseInColorAlpha = 60

      CustomOptions.FrameFocusedColorAlpha = 80

      CustomOptions.FontNormalColor = clBtnText

      CustomOptions.FontActiveColor = clBtnText

      CustomOptions.FontMouseInColor = clBtnText

      CustomOptions.FontFocusedColor = clBtnText

      CustomOptions.TabStyle = gptsShape

      CustomOptions.ShapeFillGradientAngle = 90

      CustomOptions.GradientColorOffset = 30

      CustomOptions.ShapeCornerRadius = 5

      CustomOptions.StyleColors = True

      CustomGlowEffect.Enabled = False

      CustomGlowEffect.Color = clHighlight

      CustomGlowEffect.AlphaValue = 255

      CustomGlowEffect.GlowSize = 7

      CustomGlowEffect.Offset = 0

      CustomGlowEffect.Intensive = True

      CustomGlowEffect.StyleColors = True

      CustomGlowEffect.HotColor = clNone

      CustomGlowEffect.PressedColor = clNone

      CustomGlowEffect.FocusedColor = clNone

      CustomGlowEffect.PressedGlowSize = 7

      CustomGlowEffect.PressedAlphaValue = 255

      CustomGlowEffect.States = [scsFocused]

      CustomFrameColor = clNone

      CustomFrameColorAlpha = 255

      ShowCloseButton = True

      UseCustomOptions = False

    end>

   TabIndex = 0

   ActivePage = scGPPageControlPage13

   StorePaintBuffer = False

   FreeOnClose = False

   OnChangePage = PageContorlContentRightChangePage

   object scGPPageControlPage17: TscGPPageControlPage

    Left = 0

    Top = 40

    Width = 696

    Height = 594

    HorzScrollBar.Tracking = True

    VertScrollBar.Tracking = True

    BorderStyle = bsNone

    Color = clWhite

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Tahoma'

    Font.Style = []

    ParentColor = False

    ParentFont = False

    TabOrder = 4

    Visible = False

    WallpaperIndex = -1

    CustomBackgroundImageIndex = -1

    BGStyle = scgppsColor

   end

   object scGPPageControlPage16: TscGPPageControlPage

    Left = 0

    Top = 40

    Width = 696

    Height = 594

    HorzScrollBar.Tracking = True

    VertScrollBar.Tracking = True

    BorderStyle = bsNone

    Color = clWhite

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Tahoma'

    Font.Style = []

    ParentColor = False

    ParentFont = False

    TabOrder = 3

    Visible = False

    WallpaperIndex = -1

    CustomBackgroundImageIndex = -1

    BGStyle = scgppsColor

   end

   object PagePicevidence: TscGPPageControlPage

    Left = 0

    Top = 40

    Width = 696

    Height = 594

    HorzScrollBar.Tracking = True

    VertScrollBar.Tracking = True

    BorderStyle = bsNone

    Color = clWhite

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Tahoma'

    Font.Style = []

    ParentColor = False

    ParentFont = False

    TabOrder = 2

    Visible = False

    WallpaperIndex = -1

    CustomBackgroundImageIndex = -1

    BGStyle = scgppsColor

   end

   object PageGuidePic: TscGPPageControlPage

    Left = 0

    Top = 40

    Width = 696

    Height = 594

    HorzScrollBar.Tracking = True

    VertScrollBar.Tracking = True

    BorderStyle = bsNone

    Color = clWhite

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Impact'

    Font.Style = []

    ParentColor = False

    ParentFont = False

    TabOrder = 1

    Visible = False

    WallpaperIndex = -1

    CustomBackgroundImageIndex = -1

    BGStyle = scgppsColor

   end

   object PageContorlContentRight_VideoInfo: TscGPPageControlPage

    Left = 0

    Top = 40

    Width = 696

    Height = 594

    HorzScrollBar.Tracking = True

    VertScrollBar.Tracking = True

    BorderStyle = bsNone

    Color = clWhite

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Tahoma'

    Font.Style = []

    ParentColor = False

    ParentFont = False

    TabOrder = 5

    Visible = False

    WallpaperIndex = -1

    CustomBackgroundImageIndex = -1

    BGStyle = scgppsColor

   end

   object scGPPageControlPage13: TscGPPageControlPage

    Left = 0

    Top = 40

    Width = 696

    Height = 594

    HorzScrollBar.Tracking = True

    VertScrollBar.Tracking = True

    BorderStyle = bsNone

    Color = clWhite

    Font.Charset = DEFAULT_CHARSET

    Font.Color = clWindowText

    Font.Height = -11

    Font.Name = 'Tahoma'

    Font.Style = []

    ParentColor = False

    ParentFont = False

    TabOrder = 0

    WallpaperIndex = -1

    CustomBackgroundImageIndex = -1

    BGStyle = scgppsColor

   end

end


















联系电话:
020-00000000
联系电话:
020-00000000
联系电话:
020-12345678