📄 editorsstylesdemorichedit.dfm
字号:
inherited EditorsStylesDemoRichEditFrame: TEditorsStylesDemoRichEditFrame
Left = 262
Top = 146
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object RichEdit: TcxRichEdit [0]
Left = 0
Top = 50
Width = 692
Height = 416
Align = alClient
Properties.HideSelection = False
Properties.ScrollBars = ssBoth
Properties.OnChange = RichEditPropertiesChange
Properties.OnSelectionChange = RichEditSelectionChange
Style.Color = 16707303
TabOrder = 0
end
inherited pnlDescription: TPanel
TabOrder = 1
inherited memDescrip: TcxMemo
Lines.Strings = (
'A simple example of the editors useful for text processing.'
''
'Select text and explore the controls on the second row of the to' +
'olbar.'
''
'Other things to note:'
''
'- experiment with changing the selected Color Palette to see how' +
' this effects the colors provided by the cxColorComboBox.'
''
'- see how the cxFontNameComboBox provides a preview and the abil' +
'ity to display this with different attributes (you can see how t' +
'he text displays in all styles).'
''
'- use the cxFontNameComboBox to change fonts a few times and see' +
' the effect on the '#39'most recently used'#39' list provided by the con' +
'trol'
''
'- try using the cxSpinButton and see it affect the cxMaskEdit to' +
' its left (set to allow numbers only as input). '
''
'- see that the cxFontNameComboBox button has a custom image')
end
end
object ControlBar: TCoolBar [2]
Left = 0
Top = 0
Width = 692
Height = 50
AutoSize = True
Bands = <
item
Control = StandardToolBar
ImageIndex = -1
MinHeight = 22
Width = 688
end
item
Control = ToolBar1
ImageIndex = -1
MinHeight = 22
Width = 688
end>
Color = 16372155
ParentColor = False
object StandardToolBar: TToolBar
Left = 9
Top = 0
Width = 675
Height = 22
AutoSize = True
Caption = 'StandardToolBar'
EdgeInner = esNone
EdgeOuter = esNone
Flat = True
Images = ToolbarImages
Indent = 4
TabOrder = 0
Transparent = True
Wrapable = False
object ToolButton3: TToolButton
Left = 4
Top = 0
Action = actNewFile
end
object OpenButton: TToolButton
Left = 27
Top = 0
Action = actOpen
end
object ToolButton4: TToolButton
Left = 50
Top = 0
Action = actSaveFile
end
object PrintButton: TToolButton
Left = 73
Top = 0
Action = actPrint
end
object ToolButton5: TToolButton
Left = 96
Top = 0
Width = 8
Caption = 'ToolButton5'
ImageIndex = 3
Style = tbsDivider
end
object CutButton: TToolButton
Left = 104
Top = 0
Action = actEditCut
end
object CopyButton: TToolButton
Left = 127
Top = 0
Action = actEditCopy
end
object PasteButton: TToolButton
Left = 150
Top = 0
Action = actEditPaste
end
object ToolButton10: TToolButton
Left = 173
Top = 0
Width = 8
Caption = 'ToolButton10'
ImageIndex = 7
Style = tbsSeparator
end
object BoldButton: TToolButton
Left = 181
Top = 0
Action = actBold
Style = tbsCheck
end
object ItalicButton: TToolButton
Left = 204
Top = 0
Action = actItalic
Style = tbsCheck
end
object UnderlineButton: TToolButton
Left = 227
Top = 0
Action = actUnderline
Style = tbsCheck
end
object ToolButton16: TToolButton
Left = 250
Top = 0
Width = 8
Caption = 'ToolButton16'
ImageIndex = 12
Style = tbsDivider
end
object LeftAlign: TToolButton
Left = 258
Top = 0
Action = actAlignLeft
Grouped = True
Style = tbsCheck
end
object CenterAlign: TToolButton
Tag = 2
Left = 281
Top = 0
Action = actAlignCenter
Grouped = True
Style = tbsCheck
end
object RightAlign: TToolButton
Tag = 1
Left = 304
Top = 0
Action = actAlignRight
Grouped = True
Style = tbsCheck
end
object ToolButton20: TToolButton
Left = 327
Top = 0
Width = 8
Caption = 'ToolButton20'
ImageIndex = 15
Style = tbsDivider
end
object BulletsButton: TToolButton
Left = 335
Top = 0
Action = actBullets
Style = tbsCheck
end
end
object ToolBar1: TToolBar
Left = 9
Top = 24
Width = 675
Height = 22
ButtonHeight = 21
Caption = 'ToolBar1'
EdgeBorders = []
EdgeInner = esNone
EdgeOuter = esNone
Flat = True
TabOrder = 1
Transparent = True
Wrapable = False
object btnColorSchemes: TcxButton
Left = 0
Top = 0
Width = 185
Height = 21
Hint = 'cxButton'
Caption = 'btnColorSchemes'
TabOrder = 2
DropDownMenu = pmColorSchemes
Kind = cxbkDropDownButton
Layout = blGlyphBottom
end
object ToolButton6: TToolButton
Left = 185
Top = 0
Width = 9
Caption = 'ToolButton6'
ImageIndex = 0
Style = tbsSeparator
end
object cxColorComboBox: TcxColorComboBox
Left = 194
Top = 0
Width = 169
Height = 21
Hint = 'cxColorComboBox'
ParentFont = False
Properties.AllowSelectColor = True
Properties.DefaultColor = clBlack
Properties.DefaultDescription = 'clBlack'
Properties.DropDownSizeable = True
Properties.OnChange = cxColorComboBoxPropertiesChange
Properties.Items = <>
Properties.PrepareInfo = ''
Style.StyleController = cxEditStyleController
TabOrder = 3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -