mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
This follows a recommendation on https://wiki.lazarus.freepascal.org/High_DPI#High_DPI_in_Lazarus_1.8_and_above Refs #2344
419 lines
12 KiB
Plaintext
419 lines
12 KiB
Plaintext
object frmTriggerEditor: TfrmTriggerEditor
|
|
Left = 0
|
|
Height = 500
|
|
Top = 0
|
|
Width = 700
|
|
ClientHeight = 500
|
|
ClientWidth = 700
|
|
LCLVersion = '4.4.0.0'
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
object lblBody: TLabel
|
|
Left = 5
|
|
Height = 15
|
|
Top = 127
|
|
Width = 690
|
|
Align = alTop
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Trigger statement: (e.g. "SET NEW.columnA = TRIM(OLD.columnA)"'
|
|
end
|
|
object PageControlMain: TPageControl
|
|
Left = 5
|
|
Height = 117
|
|
Top = 5
|
|
Width = 690
|
|
ActivePage = tabOptions
|
|
Align = alTop
|
|
AutoSize = True
|
|
BorderSpacing.Around = 5
|
|
Images = MainForm.ImageListMain
|
|
TabIndex = 0
|
|
TabOrder = 4
|
|
OnChange = PageControlMainChange
|
|
object tabOptions: TTabSheet
|
|
Caption = 'Options'
|
|
ClientHeight = 89
|
|
ClientWidth = 682
|
|
ImageIndex = 39
|
|
object lblDefiner: TLabel
|
|
AnchorSideLeft.Control = editName
|
|
AnchorSideLeft.Side = asrBottom
|
|
AnchorSideTop.Control = comboDefiner
|
|
AnchorSideTop.Side = asrCenter
|
|
Left = 247
|
|
Height = 15
|
|
Top = 9
|
|
Width = 41
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Definer:'
|
|
end
|
|
object lblName: TLabel
|
|
AnchorSideLeft.Control = tabOptions
|
|
AnchorSideTop.Control = editName
|
|
AnchorSideTop.Side = asrCenter
|
|
Left = 5
|
|
Height = 15
|
|
Top = 9
|
|
Width = 35
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Name:'
|
|
FocusControl = editName
|
|
end
|
|
object lblTable: TLabel
|
|
AnchorSideLeft.Control = tabOptions
|
|
AnchorSideTop.Control = comboTable
|
|
AnchorSideTop.Side = asrCenter
|
|
Left = 5
|
|
Height = 15
|
|
Top = 37
|
|
Width = 48
|
|
BorderSpacing.Around = 5
|
|
Caption = 'On table:'
|
|
end
|
|
object lblEvent: TLabel
|
|
AnchorSideLeft.Control = tabOptions
|
|
AnchorSideTop.Control = comboTiming
|
|
AnchorSideTop.Side = asrCenter
|
|
Left = 5
|
|
Height = 15
|
|
Top = 65
|
|
Width = 32
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Event:'
|
|
end
|
|
object comboDefiner: TComboBox
|
|
AnchorSideTop.Control = tabOptions
|
|
AnchorSideRight.Control = tabOptions
|
|
AnchorSideRight.Side = asrBottom
|
|
Left = 304
|
|
Height = 23
|
|
Top = 5
|
|
Width = 373
|
|
Anchors = [akTop, akLeft, akRight]
|
|
BorderSpacing.Around = 5
|
|
ItemHeight = 15
|
|
TabOrder = 0
|
|
Text = 'comboDefiner'
|
|
OnChange = Modification
|
|
OnDropDown = comboDefinerDropDown
|
|
end
|
|
object editName: TEdit
|
|
AnchorSideLeft.Control = tabOptions
|
|
AnchorSideTop.Control = tabOptions
|
|
Left = 85
|
|
Height = 23
|
|
Top = 5
|
|
Width = 157
|
|
BorderSpacing.Left = 80
|
|
BorderSpacing.Around = 5
|
|
TabOrder = 1
|
|
Text = 'editName'
|
|
TextHint = 'Enter trigger name'
|
|
OnChange = Modification
|
|
end
|
|
object comboTable: TComboBox
|
|
AnchorSideLeft.Control = tabOptions
|
|
AnchorSideTop.Control = editName
|
|
AnchorSideTop.Side = asrBottom
|
|
AnchorSideRight.Control = tabOptions
|
|
AnchorSideRight.Side = asrBottom
|
|
Left = 85
|
|
Height = 23
|
|
Top = 33
|
|
Width = 592
|
|
Anchors = [akTop, akLeft, akRight]
|
|
BorderSpacing.Left = 80
|
|
BorderSpacing.Around = 5
|
|
ItemHeight = 15
|
|
Style = csDropDownList
|
|
TabOrder = 2
|
|
OnChange = comboChange
|
|
end
|
|
object comboTiming: TComboBox
|
|
AnchorSideLeft.Control = tabOptions
|
|
AnchorSideTop.Control = comboTable
|
|
AnchorSideTop.Side = asrBottom
|
|
AnchorSideBottom.Control = tabOptions
|
|
AnchorSideBottom.Side = asrBottom
|
|
Left = 85
|
|
Height = 23
|
|
Top = 61
|
|
Width = 157
|
|
Anchors = [akTop, akLeft, akBottom]
|
|
BorderSpacing.Left = 80
|
|
BorderSpacing.Around = 5
|
|
ItemHeight = 15
|
|
Style = csDropDownList
|
|
TabOrder = 3
|
|
OnChange = comboChange
|
|
end
|
|
object comboEvent: TComboBox
|
|
AnchorSideLeft.Control = comboTiming
|
|
AnchorSideLeft.Side = asrBottom
|
|
AnchorSideTop.Control = comboTable
|
|
AnchorSideTop.Side = asrBottom
|
|
Left = 247
|
|
Height = 23
|
|
Top = 61
|
|
Width = 145
|
|
BorderSpacing.Around = 5
|
|
ItemHeight = 15
|
|
Style = csDropDownList
|
|
TabOrder = 4
|
|
OnChange = comboChange
|
|
end
|
|
end
|
|
object tabCreateCode: TTabSheet
|
|
Caption = 'CREATE code'
|
|
ClientHeight = 89
|
|
ClientWidth = 682
|
|
ImageIndex = 119
|
|
inline SynMemoCreateCode: TSynEdit
|
|
Left = 0
|
|
Height = 89
|
|
Top = 0
|
|
Width = 682
|
|
Align = alClient
|
|
Font.Height = -13
|
|
Font.Name = 'Courier New'
|
|
Font.Pitch = fpFixed
|
|
Font.Quality = fqNonAntialiased
|
|
ParentColor = False
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
Gutter.LeftOffset = 2
|
|
Gutter.Width = 59
|
|
Gutter.MouseActions = <>
|
|
RightGutter.Width = 0
|
|
RightGutter.MouseActions = <>
|
|
Highlighter = MainForm.SynSQLSynUsed
|
|
Keystrokes = <>
|
|
MouseActions = <>
|
|
MouseTextActions = <>
|
|
MouseSelActions = <>
|
|
Lines.Strings = (
|
|
'SynMemoCreateCode'
|
|
)
|
|
VisibleSpecialChars = [vscSpace, vscTabAtLast]
|
|
ReadOnly = True
|
|
SelectedColor.BackPriority = 50
|
|
SelectedColor.ForePriority = 50
|
|
SelectedColor.FramePriority = 50
|
|
SelectedColor.BoldPriority = 50
|
|
SelectedColor.ItalicPriority = 50
|
|
SelectedColor.UnderlinePriority = 50
|
|
SelectedColor.StrikeOutPriority = 50
|
|
BracketHighlightStyle = sbhsBoth
|
|
BracketMatchColor.Background = clNone
|
|
BracketMatchColor.Foreground = clNone
|
|
BracketMatchColor.Style = [fsBold]
|
|
FoldedCodeColor.Background = clNone
|
|
FoldedCodeColor.Foreground = clGray
|
|
FoldedCodeColor.FrameColor = clGray
|
|
MouseLinkColor.Background = clNone
|
|
MouseLinkColor.Foreground = clBlue
|
|
LineHighlightColor.Background = clNone
|
|
LineHighlightColor.Foreground = clNone
|
|
inline SynLeftGutterPartList1: TSynGutterPartList
|
|
object SynGutterMarks1: TSynGutterMarks
|
|
Width = 24
|
|
MouseActions = <>
|
|
MaxExtraMarksColums = 0
|
|
Options = [sgmoDeDuplicateMarksOnOverflow]
|
|
MarkupInfo.Background = clBtnFace
|
|
MarkupInfo.Foreground = clNone
|
|
end
|
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
|
Width = 17
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clBtnFace
|
|
MarkupInfo.Foreground = clNone
|
|
DigitCount = 2
|
|
ShowOnlyLineNumbersMultiplesOf = 1
|
|
ZeroStart = False
|
|
LeadingZeros = False
|
|
end
|
|
object SynGutterChanges1: TSynGutterChanges
|
|
Width = 4
|
|
MouseActions = <>
|
|
ModifiedColor = 59900
|
|
SavedColor = clGreen
|
|
MarkupInfo.Background = clNone
|
|
MarkupInfo.Foreground = clGreen
|
|
MarkupInfo.FrameColor = 59900
|
|
end
|
|
object SynGutterSeparator1: TSynGutterSeparator
|
|
Width = 2
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clWhite
|
|
MarkupInfo.Foreground = clGray
|
|
end
|
|
object SynGutterCodeFolding1: TSynGutterCodeFolding
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clNone
|
|
MarkupInfo.Foreground = clGray
|
|
MouseActionsExpanded = <>
|
|
MouseActionsCollapsed = <>
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
inline SynMemoBody: TSynEdit
|
|
AnchorSideLeft.Control = Owner
|
|
AnchorSideTop.Control = lblBody
|
|
AnchorSideTop.Side = asrBottom
|
|
AnchorSideRight.Control = Owner
|
|
AnchorSideRight.Side = asrBottom
|
|
AnchorSideBottom.Control = btnSave
|
|
Left = 5
|
|
Height = 318
|
|
Top = 147
|
|
Width = 690
|
|
Align = alTop
|
|
BorderSpacing.Around = 5
|
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
|
Font.Height = -13
|
|
Font.Name = 'Courier New'
|
|
Font.Pitch = fpFixed
|
|
Font.Quality = fqNonAntialiased
|
|
ParentColor = False
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
Gutter.Width = 57
|
|
Gutter.MouseActions = <>
|
|
RightGutter.Width = 0
|
|
RightGutter.MouseActions = <>
|
|
Keystrokes = <>
|
|
MouseActions = <>
|
|
MouseTextActions = <>
|
|
MouseSelActions = <>
|
|
Lines.Strings = (
|
|
'SynMemoBody'
|
|
)
|
|
VisibleSpecialChars = [vscSpace, vscTabAtLast]
|
|
SelectedColor.BackPriority = 50
|
|
SelectedColor.ForePriority = 50
|
|
SelectedColor.FramePriority = 50
|
|
SelectedColor.BoldPriority = 50
|
|
SelectedColor.ItalicPriority = 50
|
|
SelectedColor.UnderlinePriority = 50
|
|
SelectedColor.StrikeOutPriority = 50
|
|
BracketHighlightStyle = sbhsBoth
|
|
BracketMatchColor.Background = clNone
|
|
BracketMatchColor.Foreground = clNone
|
|
BracketMatchColor.Style = [fsBold]
|
|
FoldedCodeColor.Background = clNone
|
|
FoldedCodeColor.Foreground = clGray
|
|
FoldedCodeColor.FrameColor = clGray
|
|
MouseLinkColor.Background = clNone
|
|
MouseLinkColor.Foreground = clBlue
|
|
LineHighlightColor.Background = clNone
|
|
LineHighlightColor.Foreground = clNone
|
|
OnChange = Modification
|
|
inline SynLeftGutterPartList1: TSynGutterPartList
|
|
object SynGutterMarks1: TSynGutterMarks
|
|
Width = 24
|
|
MouseActions = <>
|
|
MaxExtraMarksColums = 0
|
|
Options = [sgmoDeDuplicateMarksOnOverflow]
|
|
MarkupInfo.Background = clBtnFace
|
|
MarkupInfo.Foreground = clNone
|
|
end
|
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
|
Width = 17
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clBtnFace
|
|
MarkupInfo.Foreground = clNone
|
|
DigitCount = 2
|
|
ShowOnlyLineNumbersMultiplesOf = 1
|
|
ZeroStart = False
|
|
LeadingZeros = False
|
|
end
|
|
object SynGutterChanges1: TSynGutterChanges
|
|
Width = 4
|
|
MouseActions = <>
|
|
ModifiedColor = 59900
|
|
SavedColor = clGreen
|
|
MarkupInfo.Background = clNone
|
|
MarkupInfo.Foreground = clGreen
|
|
MarkupInfo.FrameColor = 59900
|
|
end
|
|
object SynGutterSeparator1: TSynGutterSeparator
|
|
Width = 2
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clWhite
|
|
MarkupInfo.Foreground = clGray
|
|
end
|
|
object SynGutterCodeFolding1: TSynGutterCodeFolding
|
|
MouseActions = <>
|
|
MarkupInfo.Background = clNone
|
|
MarkupInfo.Foreground = clGray
|
|
MouseActionsExpanded = <>
|
|
MouseActionsCollapsed = <>
|
|
end
|
|
end
|
|
end
|
|
object btnHelp: TButton
|
|
AnchorSideLeft.Control = Owner
|
|
AnchorSideBottom.Control = Owner
|
|
AnchorSideBottom.Side = asrBottom
|
|
Left = 5
|
|
Height = 25
|
|
Top = 470
|
|
Width = 75
|
|
Anchors = [akLeft, akBottom]
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Help'
|
|
TabOrder = 1
|
|
OnClick = btnHelpClick
|
|
end
|
|
object btnDiscard: TButton
|
|
AnchorSideLeft.Control = btnHelp
|
|
AnchorSideLeft.Side = asrBottom
|
|
AnchorSideBottom.Control = Owner
|
|
AnchorSideBottom.Side = asrBottom
|
|
Left = 85
|
|
Height = 25
|
|
Top = 470
|
|
Width = 75
|
|
Anchors = [akLeft, akBottom]
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Discard'
|
|
TabOrder = 2
|
|
OnClick = btnDiscardClick
|
|
end
|
|
object btnSave: TButton
|
|
AnchorSideLeft.Control = btnDiscard
|
|
AnchorSideLeft.Side = asrBottom
|
|
AnchorSideBottom.Control = Owner
|
|
AnchorSideBottom.Side = asrBottom
|
|
Left = 165
|
|
Height = 25
|
|
Top = 470
|
|
Width = 75
|
|
Anchors = [akLeft, akBottom]
|
|
BorderSpacing.Around = 5
|
|
Caption = 'Save'
|
|
Default = True
|
|
TabOrder = 3
|
|
OnClick = btnSaveClick
|
|
end
|
|
object SynCompletionProposalStatement: TSynCompletion
|
|
OnExecute = SynCompletionProposalStatementExecute
|
|
Position = -1
|
|
LinesInWindow = 6
|
|
SelectedColor = clHighlight
|
|
CaseSensitive = False
|
|
Width = 262
|
|
AutoUseSingleIdent = True
|
|
ShortCut = 16416
|
|
EndOfTokenChr = '()[]. '
|
|
ExecCommandID = ecSynCompletionExecute
|
|
Editor = SynMemoBody
|
|
ToggleReplaceWhole = False
|
|
Left = 264
|
|
Top = 304
|
|
end
|
|
end
|