TscGPButton UI样式代码-Layui 系列

   样式效果如下图


      


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


object scGPButton1: TscGPButton

   Left = 272

   Top = 152

   Width = 100

   Height = 35

   TabOrder = 0

   TabStop = True

   Animation = False

   Caption = #28784#33394#39118#26684

   CanFocused = True

   CustomDropDown = False

   Margin = -1

   Spacing = 1

   Layout = blGlyphLeft

   ImageIndex = -1

   ImageMargin = 0

   TransparentBackground = True

   Options.NormalColor = 16250871

   Options.HotColor = clWhite

   Options.PressedColor = clWhite

   Options.FocusedColor = clWhite

   Options.DisabledColor = 16250871

   Options.NormalColor2 = clNone

   Options.HotColor2 = clNone

   Options.PressedColor2 = clNone

   Options.FocusedColor2 = clNone

   Options.DisabledColor2 = clNone

   Options.NormalColorAlpha = 255

   Options.HotColorAlpha = 255

   Options.PressedColorAlpha = 255

   Options.FocusedColorAlpha = 255

   Options.DisabledColorAlpha = 255

   Options.NormalColor2Alpha = 255

   Options.HotColor2Alpha = 255

   Options.PressedColor2Alpha = 255

   Options.FocusedColor2Alpha = 255

   Options.DisabledColor2Alpha = 255

   Options.FrameNormalColor = 15064793

   Options.FrameHotColor = 16427309

   Options.FramePressedColor = 16427309

   Options.FrameFocusedColor = 16427309

   Options.FrameDisabledColor = 15130842

   Options.FrameWidth = 1

   Options.FrameNormalColorAlpha = 255

   Options.FrameHotColorAlpha = 255

   Options.FramePressedColorAlpha = 255

   Options.FrameFocusedColorAlpha = 255

   Options.FrameDisabledColorAlpha = 255

   Options.FontNormalColor = 9997442

   Options.FontHotColor = 16427309

   Options.FontPressedColor = 16427309

   Options.FontFocusedColor = 16427309

   Options.FontDisabledColor = 13421772

   Options.ShapeFillGradientAngle = 90

   Options.ShapeFillGradientPressedAngle = -90

   Options.ShapeFillGradientColorOffset = 25

   Options.ShapeCornerRadius = 3

   Options.ShapeStyle = scgpRoundedRect

   Options.ArrowSize = 9

   Options.ArrowAreaSize = 0

   Options.ArrowType = scgpatDefault

   Options.ArrowThickness = 2

   Options.ArrowThicknessScaled = False

   Options.StyleColors = True

   HotImageIndex = -1

   FocusedImageIndex = -1

   PressedImageIndex = -1

   UseGalleryMenuImage = False

   UseGalleryMenuCaption = False

   ScaleMarginAndSpacing = False

   WidthWithCaption = 0

   WidthWithoutCaption = 0

   SplitButton = False

   RepeatClick = False

   RepeatClickInterval = 100

   GlowEffect.Enabled = False

   GlowEffect.Color = clHighlight

   GlowEffect.AlphaValue = 255

   GlowEffect.GlowSize = 7

   GlowEffect.Offset = 0

   GlowEffect.Intensive = True

   GlowEffect.StyleColors = True

   GlowEffect.HotColor = clNone

   GlowEffect.PressedColor = clNone

   GlowEffect.FocusedColor = clNone

   GlowEffect.PressedGlowSize = 7

   GlowEffect.PressedAlphaValue = 255

   GlowEffect.States = [scsHot, scsPressed, scsFocused]

   ImageGlow = True

   ShowGalleryMenuFromTop = False

   ShowGalleryMenuFromRight = False

   ShowMenuArrow = True

   ShowFocusRect = True

   Down = False

   GroupIndex = 0

   AllowAllUp = False

end




object scGPButton1: TscGPButton

   Left = 272

   Top = 152

   Width = 100

   Height = 35

   TabOrder = 0

   TabStop = True

   Animation = False

   Caption = #40664#35748#28784#33394#39118#26684

   CanFocused = True

   CustomDropDown = False

   Margin = -1

   Spacing = 1

   Layout = blGlyphLeft

   ImageIndex = -1

   ImageMargin = 0

   TransparentBackground = True

   Options.NormalColor = 15921906

   Options.HotColor = 14606046

   Options.PressedColor = 13421772

   Options.FocusedColor = 14606046

   Options.DisabledColor = 16185078

   Options.NormalColor2 = clNone

   Options.HotColor2 = clNone

   Options.PressedColor2 = clNone

   Options.FocusedColor2 = clNone

   Options.DisabledColor2 = clNone

   Options.NormalColorAlpha = 255

   Options.HotColorAlpha = 255

   Options.PressedColorAlpha = 255

   Options.FocusedColorAlpha = 255

   Options.DisabledColorAlpha = 255

   Options.NormalColor2Alpha = 255

   Options.HotColor2Alpha = 255

   Options.PressedColor2Alpha = 255

   Options.FocusedColor2Alpha = 255

   Options.DisabledColor2Alpha = 255

   Options.FrameNormalColor = 12961221

   Options.FrameHotColor = 10592673

   Options.FramePressedColor = 13421772

   Options.FrameFocusedColor = 13604982

   Options.FrameDisabledColor = 16053492

   Options.FrameWidth = 1

   Options.FrameNormalColorAlpha = 255

   Options.FrameHotColorAlpha = 255

   Options.FramePressedColorAlpha = 255

   Options.FrameFocusedColorAlpha = 255

   Options.FrameDisabledColorAlpha = 255

   Options.FontNormalColor = 3487029

   Options.FontHotColor = 3487029

   Options.FontPressedColor = 3487029

   Options.FontFocusedColor = 3487029

   Options.FontDisabledColor = 13158600

   Options.ShapeFillGradientAngle = 90

   Options.ShapeFillGradientPressedAngle = -90

   Options.ShapeFillGradientColorOffset = 25

   Options.ShapeCornerRadius = 3

   Options.ShapeStyle = scgpRoundedRect

   Options.ArrowSize = 9

   Options.ArrowAreaSize = 0

   Options.ArrowType = scgpatDefault

   Options.ArrowThickness = 2

   Options.ArrowThicknessScaled = False

   Options.StyleColors = True

   HotImageIndex = -1

   FocusedImageIndex = -1

   PressedImageIndex = -1

   UseGalleryMenuImage = False

   UseGalleryMenuCaption = False

   ScaleMarginAndSpacing = False

   WidthWithCaption = 0

   WidthWithoutCaption = 0

   SplitButton = False

   RepeatClick = False

   RepeatClickInterval = 100

   GlowEffect.Enabled = False

   GlowEffect.Color = clHighlight

   GlowEffect.AlphaValue = 255

   GlowEffect.GlowSize = 7

   GlowEffect.Offset = 0

   GlowEffect.Intensive = True

   GlowEffect.StyleColors = True

   GlowEffect.HotColor = clNone

   GlowEffect.PressedColor = clNone

   GlowEffect.FocusedColor = clNone

   GlowEffect.PressedGlowSize = 7

   GlowEffect.PressedAlphaValue = 255

   GlowEffect.States = [scsHot, scsPressed, scsFocused]

   ImageGlow = True

   ShowGalleryMenuFromTop = False

   ShowGalleryMenuFromRight = False

   ShowMenuArrow = True

   ShowFocusRect = True

   Down = False

   GroupIndex = 0

   AllowAllUp = False

end



object scGPButton1: TscGPButton

   Left = 272

   Top = 152

   Width = 100

   Height = 35

   TabOrder = 0

   TabStop = True

   Animation = False

   Caption = #32511#33394#39118#26684

   CanFocused = True

   CustomDropDown = False

   Margin = -1

   Spacing = 1

   Layout = blGlyphLeft

   ImageIndex = -1

   ImageMargin = 0

   TransparentBackground = True

   Options.NormalColor = 6207838

   Options.HotColor = 4893258

   Options.PressedColor = 4165951

   Options.FocusedColor = 4893258

   Options.DisabledColor = 16053492

   Options.NormalColor2 = clNone

   Options.HotColor2 = clNone

   Options.PressedColor2 = clNone

   Options.FocusedColor2 = clNone

   Options.DisabledColor2 = clNone

   Options.NormalColorAlpha = 255

   Options.HotColorAlpha = 255

   Options.PressedColorAlpha = 255

   Options.FocusedColorAlpha = 255

   Options.DisabledColorAlpha = 255

   Options.NormalColor2Alpha = 255

   Options.HotColor2Alpha = 255

   Options.PressedColor2Alpha = 255

   Options.FocusedColor2Alpha = 255

   Options.DisabledColor2Alpha = 255

   Options.FrameNormalColor = 6207838

   Options.FrameHotColor = 4893258

   Options.FramePressedColor = 4165951

   Options.FrameFocusedColor = 4893258

   Options.FrameDisabledColor = 16053492

   Options.FrameWidth = 1

   Options.FrameNormalColorAlpha = 255

   Options.FrameHotColorAlpha = 255

   Options.FramePressedColorAlpha = 255

   Options.FrameFocusedColorAlpha = 255

   Options.FrameDisabledColorAlpha = 255

   Options.FontNormalColor = clWhite

   Options.FontHotColor = clWhite

   Options.FontPressedColor = clWhite

   Options.FontFocusedColor = clWhite

   Options.FontDisabledColor = 11250603

   Options.ShapeFillGradientAngle = 90

   Options.ShapeFillGradientPressedAngle = -90

   Options.ShapeFillGradientColorOffset = 25

   Options.ShapeCornerRadius = 2

   Options.ShapeStyle = scgpRoundedRect

   Options.ArrowSize = 9

   Options.ArrowAreaSize = 0

   Options.ArrowType = scgpatDefault

   Options.ArrowThickness = 2

   Options.ArrowThicknessScaled = False

   Options.StyleColors = True

   HotImageIndex = -1

   FocusedImageIndex = -1

   PressedImageIndex = -1

   UseGalleryMenuImage = False

   UseGalleryMenuCaption = False

   ScaleMarginAndSpacing = False

   WidthWithCaption = 0

   WidthWithoutCaption = 0

   SplitButton = False

   RepeatClick = False

   RepeatClickInterval = 100

   GlowEffect.Enabled = False

   GlowEffect.Color = clHighlight

   GlowEffect.AlphaValue = 255

   GlowEffect.GlowSize = 7

   GlowEffect.Offset = 0

   GlowEffect.Intensive = True

   GlowEffect.StyleColors = True

   GlowEffect.HotColor = clNone

   GlowEffect.PressedColor = clNone

   GlowEffect.FocusedColor = clNone

   GlowEffect.PressedGlowSize = 7

   GlowEffect.PressedAlphaValue = 255

   GlowEffect.States = [scsHot, scsPressed, scsFocused]

   ImageGlow = True

   ShowGalleryMenuFromTop = False

   ShowGalleryMenuFromRight = False

   ShowMenuArrow = True

   ShowFocusRect = True

   Down = False

   GroupIndex = 0

   AllowAllUp = False

end



object scGPButton1: TscGPButton

   Left = 272

   Top = 152

   Width = 100

   Height = 35

   TabOrder = 0

   TabStop = True

   Animation = False

   Caption = #27225#33394#39118#26684

   CanFocused = True

   CustomDropDown = False

   Margin = -1

   Spacing = 1

   Layout = blGlyphLeft

   ImageIndex = -1

   ImageMargin = 0

   TransparentBackground = True

   Options.NormalColor = 2250751

   Options.HotColor = 5142783

   Options.PressedColor = 5142783

   Options.FocusedColor = 5142783

   Options.DisabledColor = 16053492

   Options.NormalColor2 = clNone

   Options.HotColor2 = clNone

   Options.PressedColor2 = clNone

   Options.FocusedColor2 = clNone

   Options.DisabledColor2 = clNone

   Options.NormalColorAlpha = 255

   Options.HotColorAlpha = 255

   Options.PressedColorAlpha = 255

   Options.FocusedColorAlpha = 255

   Options.DisabledColorAlpha = 255

   Options.NormalColor2Alpha = 255

   Options.HotColor2Alpha = 255

   Options.PressedColor2Alpha = 255

   Options.FocusedColor2Alpha = 255

   Options.DisabledColor2Alpha = 255

   Options.FrameNormalColor = 2250751

   Options.FrameHotColor = 5142783

   Options.FramePressedColor = 5142783

   Options.FrameFocusedColor = 5142783

   Options.FrameDisabledColor = 16053492

   Options.FrameWidth = 1

   Options.FrameNormalColorAlpha = 255

   Options.FrameHotColorAlpha = 255

   Options.FramePressedColorAlpha = 255

   Options.FrameFocusedColorAlpha = 255

   Options.FrameDisabledColorAlpha = 255

   Options.FontNormalColor = clWhite

   Options.FontHotColor = clWhite

   Options.FontPressedColor = clWhite

   Options.FontFocusedColor = clWhite

   Options.FontDisabledColor = 11250603

   Options.ShapeFillGradientAngle = 90

   Options.ShapeFillGradientPressedAngle = -90

   Options.ShapeFillGradientColorOffset = 25

   Options.ShapeCornerRadius = 4

   Options.ShapeStyle = scgpRoundedRect

   Options.ArrowSize = 9

   Options.ArrowAreaSize = 0

   Options.ArrowType = scgpatDefault

   Options.ArrowThickness = 2

   Options.ArrowThicknessScaled = False

   Options.StyleColors = True

   HotImageIndex = -1

   FocusedImageIndex = -1

   PressedImageIndex = -1

   UseGalleryMenuImage = False

   UseGalleryMenuCaption = False

   ScaleMarginAndSpacing = False

   WidthWithCaption = 0

   WidthWithoutCaption = 0

   SplitButton = False

   RepeatClick = False

   RepeatClickInterval = 100

   GlowEffect.Enabled = False

   GlowEffect.Color = clHighlight

   GlowEffect.AlphaValue = 255

   GlowEffect.GlowSize = 7

   GlowEffect.Offset = 0

   GlowEffect.Intensive = True

   GlowEffect.StyleColors = True

   GlowEffect.HotColor = clNone

   GlowEffect.PressedColor = clNone

   GlowEffect.FocusedColor = clNone

   GlowEffect.PressedGlowSize = 7

   GlowEffect.PressedAlphaValue = 255

   GlowEffect.States = [scsHot, scsPressed, scsFocused]

   ImageGlow = True

   ShowGalleryMenuFromTop = False

   ShowGalleryMenuFromRight = False

   ShowMenuArrow = True

   ShowFocusRect = True

   Down = False

   GroupIndex = 0

   AllowAllUp = False

end




object scGPButton1: TscGPButton

   Left = 272

   Top = 152

   Width = 100

   Height = 35

   TabOrder = 0

   TabStop = True

   Animation = False

   Caption = #40644#33394#39118#26684

   CanFocused = True

   CustomDropDown = False

   Margin = -1

   Spacing = 1

   Layout = blGlyphLeft

   ImageIndex = -1

   ImageMargin = 0

   TransparentBackground = True

   Options.NormalColor = 47359

   Options.HotColor = 3393279

   Options.PressedColor = 47359

   Options.FocusedColor = 3393279

   Options.DisabledColor = 16053492

   Options.NormalColor2 = clNone

   Options.HotColor2 = clNone

   Options.PressedColor2 = clNone

   Options.FocusedColor2 = clNone

   Options.DisabledColor2 = clNone

   Options.NormalColorAlpha = 255

   Options.HotColorAlpha = 255

   Options.PressedColorAlpha = 255

   Options.FocusedColorAlpha = 255

   Options.DisabledColorAlpha = 255

   Options.NormalColor2Alpha = 255

   Options.HotColor2Alpha = 255

   Options.PressedColor2Alpha = 255

   Options.FocusedColor2Alpha = 255

   Options.DisabledColor2Alpha = 255

   Options.FrameNormalColor = 47359

   Options.FrameHotColor = 3393279

   Options.FramePressedColor = 47359

   Options.FrameFocusedColor = 3393279

   Options.FrameDisabledColor = 16053492

   Options.FrameWidth = 1

   Options.FrameNormalColorAlpha = 255

   Options.FrameHotColorAlpha = 255

   Options.FramePressedColorAlpha = 255

   Options.FrameFocusedColorAlpha = 255

   Options.FrameDisabledColorAlpha = 255

   Options.FontNormalColor = clWhite

   Options.FontHotColor = clWhite

   Options.FontPressedColor = clWhite

   Options.FontFocusedColor = clWhite

   Options.FontDisabledColor = 11250603

   Options.ShapeFillGradientAngle = 90

   Options.ShapeFillGradientPressedAngle = -90

   Options.ShapeFillGradientColorOffset = 25

   Options.ShapeCornerRadius = 4

   Options.ShapeStyle = scgpRoundedRect

   Options.ArrowSize = 9

   Options.ArrowAreaSize = 0

   Options.ArrowType = scgpatDefault

   Options.ArrowThickness = 2

   Options.ArrowThicknessScaled = False

   Options.StyleColors = True

   HotImageIndex = -1

   FocusedImageIndex = -1

   PressedImageIndex = -1

   UseGalleryMenuImage = False

   UseGalleryMenuCaption = False

   ScaleMarginAndSpacing = False

   WidthWithCaption = 0

   WidthWithoutCaption = 0

   SplitButton = False

   RepeatClick = False

   RepeatClickInterval = 100

   GlowEffect.Enabled = False

   GlowEffect.Color = clHighlight

   GlowEffect.AlphaValue = 255

   GlowEffect.GlowSize = 7

   GlowEffect.Offset = 0

   GlowEffect.Intensive = True

   GlowEffect.StyleColors = True

   GlowEffect.HotColor = clNone

   GlowEffect.PressedColor = clNone

   GlowEffect.FocusedColor = clNone

   GlowEffect.PressedGlowSize = 7

   GlowEffect.PressedAlphaValue = 255

   GlowEffect.States = [scsHot, scsPressed, scsFocused]

   ImageGlow = True

   ShowGalleryMenuFromTop = False

   ShowGalleryMenuFromRight = False

   ShowMenuArrow = True

   ShowFocusRect = True

   Down = False

   GroupIndex = 0

   AllowAllUp = False

end



object scGPButton1: TscGPButton

   Left = 272

   Top = 152

   Width = 100

   Height = 35

   TabOrder = 0

   TabStop = True

   Animation = False

   Caption = #40644#33394#39118#26684

   CanFocused = True

   CustomDropDown = False

   Margin = -1

   Spacing = 1

   Layout = blGlyphLeft

   ImageIndex = -1

   ImageMargin = 0

   TransparentBackground = True

   Options.NormalColor = 16752414

   Options.HotColor = 16757323

   Options.PressedColor = 16752414

   Options.FocusedColor = 16757323

   Options.DisabledColor = 16053492

   Options.NormalColor2 = clNone

   Options.HotColor2 = clNone

   Options.PressedColor2 = clNone

   Options.FocusedColor2 = clNone

   Options.DisabledColor2 = clNone

   Options.NormalColorAlpha = 255

   Options.HotColorAlpha = 255

   Options.PressedColorAlpha = 255

   Options.FocusedColorAlpha = 255

   Options.DisabledColorAlpha = 255

   Options.NormalColor2Alpha = 255

   Options.HotColor2Alpha = 255

   Options.PressedColor2Alpha = 255

   Options.FocusedColor2Alpha = 255

   Options.DisabledColor2Alpha = 255

   Options.FrameNormalColor = 16752414

   Options.FrameHotColor = 16757323

   Options.FramePressedColor = 16752414

   Options.FrameFocusedColor = 16757323

   Options.FrameDisabledColor = 16053492

   Options.FrameWidth = 1

   Options.FrameNormalColorAlpha = 255

   Options.FrameHotColorAlpha = 255

   Options.FramePressedColorAlpha = 255

   Options.FrameFocusedColorAlpha = 255

   Options.FrameDisabledColorAlpha = 255

   Options.FontNormalColor = clWhite

   Options.FontHotColor = clWhite

   Options.FontPressedColor = clWhite

   Options.FontFocusedColor = clWhite

   Options.FontDisabledColor = 11250603

   Options.ShapeFillGradientAngle = 90

   Options.ShapeFillGradientPressedAngle = -90

   Options.ShapeFillGradientColorOffset = 25

   Options.ShapeCornerRadius = 4

   Options.ShapeStyle = scgpRoundedRect

   Options.ArrowSize = 9

   Options.ArrowAreaSize = 0

   Options.ArrowType = scgpatDefault

   Options.ArrowThickness = 2

   Options.ArrowThicknessScaled = False

   Options.StyleColors = True

   HotImageIndex = -1

   FocusedImageIndex = -1

   PressedImageIndex = -1

   UseGalleryMenuImage = False

   UseGalleryMenuCaption = False

   ScaleMarginAndSpacing = False

   WidthWithCaption = 0

   WidthWithoutCaption = 0

   SplitButton = False

   RepeatClick = False

   RepeatClickInterval = 100

   GlowEffect.Enabled = False

   GlowEffect.Color = clHighlight

   GlowEffect.AlphaValue = 255

   GlowEffect.GlowSize = 7

   GlowEffect.Offset = 0

   GlowEffect.Intensive = True

   GlowEffect.StyleColors = True

   GlowEffect.HotColor = clNone

   GlowEffect.PressedColor = clNone

   GlowEffect.FocusedColor = clNone

   GlowEffect.PressedGlowSize = 7

   GlowEffect.PressedAlphaValue = 255

   GlowEffect.States = [scsHot, scsPressed, scsFocused]

   ImageGlow = True

   ShowGalleryMenuFromTop = False

   ShowGalleryMenuFromRight = False

   ShowMenuArrow = True

   ShowFocusRect = True

   Down = False

   GroupIndex = 0

   AllowAllUp = False

end






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