Files
HeidiSQL/source/options.dfm

984 lines
26 KiB
Plaintext

object optionsform: Toptionsform
Left = 547
Top = 163
BorderStyle = bsDialog
Caption = 'Preferences'
ClientHeight = 424
ClientWidth = 472
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poMainFormCenter
OnClose = FormClose
OnCreate = FormCreate
OnShow = FormShow
DesignSize = (
472
424)
PixelsPerInch = 96
TextHeight = 13
object pagecontrolMain: TPageControl
Left = 8
Top = 8
Width = 458
Height = 381
ActivePage = tabMisc
Anchors = [akLeft, akTop, akRight, akBottom]
TabOrder = 4
OnChange = pagecontrolMainChange
OnChanging = pagecontrolMainChanging
object tabMisc: TTabSheet
Caption = 'Miscellaneous'
object chkAutoReconnect: TCheckBox
Left = 8
Top = 31
Width = 417
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Automatically reconnect to previously opened sessions on startup'
TabOrder = 1
OnClick = Modified
end
object chkRestoreLastDB: TCheckBox
Left = 8
Top = 55
Width = 417
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Restore last used database on startup'
Checked = True
State = cbChecked
TabOrder = 2
OnClick = Modified
end
object chkUpdatecheck: TCheckBox
Left = 8
Top = 77
Width = 300
Height = 28
Anchors = [akLeft, akTop, akRight]
Caption =
'Automatically check for updates / Interval [days]:'#13#10'(0 = each ti' +
'me the application is started)'
TabOrder = 3
WordWrap = True
OnClick = chkUpdatecheckClick
end
object editUpdatecheckInterval: TEdit
Left = 374
Top = 77
Width = 43
Height = 21
Anchors = [akTop, akRight]
Enabled = False
TabOrder = 4
Text = '1'
OnChange = Modified
end
object updownUpdatecheckInterval: TUpDown
Left = 417
Top = 77
Width = 16
Height = 21
Anchors = [akTop, akRight]
Associate = editUpdatecheckInterval
Enabled = False
Max = 999
Position = 1
TabOrder = 5
OnChanging = anyUpDownLimitChanging
end
object chkUpdateCheckBuilds: TCheckBox
Left = 26
Top = 111
Width = 399
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Also check for updated nightly builds'
Enabled = False
TabOrder = 6
OnClick = Modified
end
object chkDoStatistics: TCheckBox
Left = 8
Top = 134
Width = 417
Height = 48
Anchors = [akLeft, akTop, akRight]
Caption =
'Count in usage statistics. This option, if enabled, will cause H' +
'eidiSQL to ping heidisql.com at most once every month. This is ' +
'used to count the used HeidiSQL and MySQL versions.'
TabOrder = 7
WordWrap = True
OnClick = Modified
end
object chkAllowMultiInstances: TCheckBox
Left = 8
Top = 8
Width = 417
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Allow multiple application instances'
Checked = True
State = cbChecked
TabOrder = 0
end
object chkColorBars: TCheckBox
Left = 8
Top = 188
Width = 201
Height = 17
Caption = 'Display bars in various list columns'
TabOrder = 8
OnClick = chkColorBarsClick
end
object cboxColorBars: TColorBox
Left = 249
Top = 186
Width = 184
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
Anchors = [akTop, akRight]
TabOrder = 9
OnClick = Modified
end
end
object tabLogging: TTabSheet
Caption = 'Logging'
ImageIndex = 5
object Label4: TLabel
Left = 8
Top = 11
Width = 37
Height = 13
Caption = 'Log last'
end
object lblLogLinesHint: TLabel
Left = 226
Top = 11
Width = 71
Height = 13
Caption = 'lines in SQL log'
end
object lblLogSnipHint: TLabel
Left = 226
Top = 38
Width = 139
Height = 13
Caption = 'characters (0 = no snipping)'
end
object lblLogSnip: TLabel
Left = 8
Top = 38
Width = 96
Height = 13
Caption = 'Snip SQL log lines to'
end
object lblLogLevel: TLabel
Left = 8
Top = 95
Width = 57
Height = 13
Caption = 'Log events:'
end
object editLogLines: TEdit
Left = 150
Top = 8
Width = 53
Height = 21
TabOrder = 0
Text = '1'
OnChange = Modified
end
object updownLogLines: TUpDown
Left = 203
Top = 8
Width = 16
Height = 21
Associate = editLogLines
Min = 1
Max = 32767
Position = 1
TabOrder = 1
Wrap = True
OnChanging = anyUpDownLimitChanging
end
object updownLogSnip: TUpDown
Left = 203
Top = 35
Width = 16
Height = 21
Associate = editLogSnip
Max = 32767
Position = 2000
TabOrder = 3
OnChanging = anyUpDownLimitChanging
end
object editLogSnip: TEdit
Left = 150
Top = 35
Width = 53
Height = 21
TabOrder = 2
Text = '2000'
OnChange = Modified
end
object chkLogToFile: TCheckBox
Left = 8
Top = 64
Width = 182
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Write SQL log to file'
TabOrder = 4
OnClick = chkLogToFileClick
end
object chkLogEventErrors: TCheckBox
Left = 150
Top = 94
Width = 150
Height = 17
Caption = 'Errors'
TabOrder = 6
OnClick = Modified
end
object chkLogEventUserFiredSQL: TCheckBox
Left = 150
Top = 113
Width = 150
Height = 17
Caption = 'User fired SQL queries'
TabOrder = 7
OnClick = Modified
end
object chkLogEventSQL: TCheckBox
Left = 150
Top = 132
Width = 150
Height = 17
Caption = 'Internal SQL queries'
TabOrder = 8
OnClick = Modified
end
object chkLogEventInfo: TCheckBox
Left = 150
Top = 151
Width = 150
Height = 17
Caption = 'Information messages'
TabOrder = 9
OnClick = Modified
end
object chkLogEventDebug: TCheckBox
Left = 150
Top = 170
Width = 150
Height = 17
Caption = 'Debug messages'
TabOrder = 10
OnClick = Modified
end
object editLogDir: TButtonedEdit
Left = 150
Top = 62
Width = 282
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
Images = MainForm.ImageListMain
RightButton.ImageIndex = 51
RightButton.Visible = True
TabOrder = 5
Text = 'editLogDir'
OnChange = Modified
OnDblClick = editLogDirRightButtonClick
OnRightButtonClick = editLogDirRightButtonClick
end
end
object tabSQL: TTabSheet
Caption = 'SQL'
ImageIndex = 1
object lblFont: TLabel
Left = 8
Top = 11
Width = 55
Height = 13
Caption = 'Editor font:'
end
object lblSQLFontSize: TLabel
Left = 213
Top = 38
Width = 10
Height = 13
Anchors = [akTop, akRight]
Caption = 'pt'
end
object Label1: TLabel
Left = 8
Top = 65
Width = 51
Height = 13
Caption = 'Tab width:'
end
object lblMaxQueryResults: TLabel
Left = 8
Top = 92
Width = 101
Height = 13
Caption = 'Maximum result sets:'
end
object comboSQLFontName: TComboBox
Left = 150
Top = 8
Width = 289
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 0
OnChange = SQLFontChange
end
object editSQLFontSize: TEdit
Left = 150
Top = 35
Width = 41
Height = 21
Anchors = [akTop, akRight]
TabOrder = 1
Text = '9'
OnExit = SQLFontChange
end
object updownSQLFontSize: TUpDown
Left = 191
Top = 35
Width = 16
Height = 21
Anchors = [akTop, akRight]
Associate = editSQLFontSize
Position = 9
TabOrder = 2
OnClick = updownSQLFontSizeClick
end
object chkCompletionProposal: TCheckBox
Left = 8
Top = 118
Width = 431
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Enable completion proposal'
TabOrder = 5
OnClick = Modified
end
object chkTabsToSpaces: TCheckBox
Left = 8
Top = 142
Width = 431
Height = 17
Caption = 'Tabs to spaces'
TabOrder = 6
OnClick = Modified
end
object editSQLTabWidth: TEdit
Left = 150
Top = 62
Width = 41
Height = 21
TabOrder = 3
Text = '0'
OnExit = SQLFontChange
end
object updownSQLTabWidth: TUpDown
Left = 191
Top = 62
Width = 16
Height = 21
Associate = editSQLTabWidth
TabOrder = 4
OnClick = updownSQLFontSizeClick
end
object chkAskFileSave: TCheckBox
Left = 8
Top = 166
Width = 431
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Prompt to save modified files on tab close'
Checked = True
State = cbChecked
TabOrder = 7
OnClick = Modified
end
object editMaxQueryResults: TEdit
Left = 150
Top = 89
Width = 41
Height = 21
TabOrder = 8
Text = '1'
OnChange = Modified
end
object updownMaxQueryResults: TUpDown
Left = 191
Top = 89
Width = 16
Height = 21
Associate = editMaxQueryResults
Min = 1
Position = 1
TabOrder = 9
OnChanging = anyUpDownLimitChanging
end
end
object tabHighlighter: TTabSheet
Caption = 'Highlighter'
ImageIndex = 5
DesignSize = (
450
353)
object lblSQLColElement: TLabel
Left = 8
Top = 11
Width = 42
Height = 13
Caption = 'Element:'
end
object lblSQLColForeground: TLabel
Left = 234
Top = 11
Width = 60
Height = 13
Anchors = [akTop, akRight]
Caption = 'Foreground:'
end
object lblSQLColBackground: TLabel
Left = 234
Top = 37
Width = 60
Height = 13
Anchors = [akTop, akRight]
Caption = 'Background:'
end
object chkSQLBold: TCheckBox
Left = 8
Top = 35
Width = 57
Height = 17
Caption = 'Bold'
TabOrder = 1
OnClick = SQLFontChange
end
object chkSQLItalic: TCheckBox
Left = 71
Top = 35
Width = 91
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Italic'
TabOrder = 2
OnClick = SQLFontChange
end
object comboSQLColElement: TComboBox
Left = 64
Top = 8
Width = 155
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 0
OnChange = comboSQLColElementChange
end
object cboxSQLColBackground: TColorBox
Left = 302
Top = 34
Width = 139
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbIncludeNone, cbCustomColor, cbPrettyNames, cbCustomColors]
Anchors = [akTop, akRight]
TabOrder = 4
OnChange = SQLFontChange
end
object cboxSQLColForeground: TColorBox
Left = 302
Top = 8
Width = 139
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbIncludeNone, cbCustomColor, cbPrettyNames, cbCustomColors]
Anchors = [akTop, akRight]
TabOrder = 3
OnChange = SQLFontChange
end
object SynMemoSQLSample: TSynMemo
AlignWithMargins = True
Left = 8
Top = 67
Width = 433
Height = 278
Cursor = crHandPoint
SingleLineMode = False
Anchors = [akLeft, akTop, akRight, akBottom]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
TabOrder = 5
OnClick = SynMemoSQLSampleClick
Gutter.Font.Charset = DEFAULT_CHARSET
Gutter.Font.Color = clWindowText
Gutter.Font.Height = -11
Gutter.Font.Name = 'Courier New'
Gutter.Font.Style = []
Gutter.Visible = False
Gutter.Width = 0
Highlighter = SynSQLSynSQLSample
Lines.Strings = (
'SynMemoSQLSample')
Options = [eoAutoIndent, eoDragDropEditing, eoEnhanceEndKey, eoGroupUndo, eoNoCaret, eoShowScrollHint, eoSmartTabDelete, eoSmartTabs, eoTabsToSpaces]
ReadOnly = True
RightEdge = 0
TabWidth = 2
WordWrap = True
OnChange = SQLFontChange
end
end
object tabData: TTabSheet
Caption = 'Data'
ImageIndex = 4
object lblMaxColWidth: TLabel
Left = 8
Top = 11
Width = 177
Height = 13
Caption = 'Maximum column-width in data-grids:'
end
object lblDataFontHint: TLabel
Left = 372
Top = 87
Width = 10
Height = 13
Anchors = [akTop, akRight]
Caption = 'pt'
end
object lblDataFont: TLabel
Left = 8
Top = 87
Width = 26
Height = 13
Caption = '&Font:'
FocusControl = comboDataFontName
end
object lblMaxTotalRows: TLabel
Left = 8
Top = 36
Width = 267
Height = 13
Caption = 'Number of rows displayed in data tab (Step, Maximum):'
end
object lblGridRowsLinecount: TLabel
Left = 8
Top = 61
Width = 122
Height = 13
Caption = 'Lines of text in grid rows:'
end
object editMaxColWidth: TEdit
Left = 309
Top = 8
Width = 42
Height = 21
Anchors = [akTop, akRight]
TabOrder = 0
Text = '1'
OnChange = Modified
end
object updownMaxColWidth: TUpDown
Left = 351
Top = 8
Width = 16
Height = 21
Anchors = [akTop, akRight]
Associate = editMaxColWidth
Min = 1
Max = 1000
Position = 1
TabOrder = 1
OnChanging = anyUpDownLimitChanging
end
object comboDataFontName: TComboBox
Left = 59
Top = 83
Width = 244
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 6
OnChange = DataFontsChange
end
object editDataFontSize: TEdit
Left = 309
Top = 83
Width = 42
Height = 21
Anchors = [akTop, akRight]
TabOrder = 7
Text = '8'
OnChange = DataFontsChange
end
object updownDataFontSize: TUpDown
Left = 351
Top = 83
Width = 16
Height = 21
Anchors = [akTop, akRight]
Associate = editDataFontSize
Position = 8
TabOrder = 8
end
object grpFieldLayout: TGroupBox
Left = 8
Top = 120
Width = 433
Height = 226
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Field colors and editors'
TabOrder = 9
object lblFieldDatetime: TLabel
Left = 12
Top = 96
Width = 51
Height = 13
Caption = '&Date/time:'
FocusControl = cboxDatetime
end
object lblFieldText: TLabel
Left = 12
Top = 48
Width = 26
Height = 13
Caption = '&Text:'
FocusControl = cboxText
end
object lblFieldBinary: TLabel
Left = 12
Top = 72
Width = 34
Height = 13
Caption = '&Binary:'
FocusControl = cboxBinary
end
object lblFieldNumeric: TLabel
Left = 12
Top = 24
Width = 46
Height = 13
Caption = '&Numbers:'
FocusControl = cboxNumeric
end
object lblFieldSpatial: TLabel
Left = 12
Top = 120
Width = 36
Height = 13
Caption = '&Spatial:'
FocusControl = cboxSpatial
end
object lblFieldOther: TLabel
Left = 12
Top = 144
Width = 32
Height = 13
Caption = '&Other:'
end
object lblFieldNull: TLabel
Left = 12
Top = 168
Width = 28
Height = 13
Caption = 'N&ULL:'
end
object cboxText: TColorBox
Left = 100
Top = 45
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
TabOrder = 1
OnChange = Modified
end
object cboxBinary: TColorBox
Left = 100
Top = 69
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
TabOrder = 2
OnChange = Modified
end
object cboxDatetime: TColorBox
Left = 100
Top = 93
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
TabOrder = 4
OnChange = Modified
end
object cboxNumeric: TColorBox
Left = 100
Top = 21
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
TabOrder = 0
OnChange = Modified
end
object cboxSpatial: TColorBox
Left = 100
Top = 117
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
TabOrder = 6
OnChange = Modified
end
object chkEditorBinary: TCheckBox
Left = 234
Top = 71
Width = 154
Height = 17
Caption = 'Enable popup HEX editor'
TabOrder = 3
OnClick = Modified
end
object chkEditorDatetime: TCheckBox
Left = 234
Top = 97
Width = 154
Height = 17
Caption = 'Enable calendar editor'
TabOrder = 5
OnClick = Modified
end
object chkEditorEnum: TCheckBox
Left = 234
Top = 120
Width = 154
Height = 17
Caption = 'Enable ENUM pulldown editor'
TabOrder = 7
OnClick = Modified
end
object cboxOther: TColorBox
Left = 100
Top = 141
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
TabOrder = 8
OnChange = Modified
end
object chkEditorSet: TCheckBox
Left = 234
Top = 143
Width = 154
Height = 17
Caption = 'Enable SET checkbox editor'
TabOrder = 9
OnClick = Modified
end
object chkNullBG: TCheckBox
Left = 234
Top = 167
Width = 154
Height = 17
Caption = 'Enable background color'
TabOrder = 11
OnClick = chkNullBGClick
end
object cboxNullBG: TColorBox
Left = 100
Top = 165
Width = 120
Height = 22
Style = [cbStandardColors, cbExtendedColors, cbCustomColor, cbPrettyNames, cbCustomColors]
Enabled = False
TabOrder = 10
OnChange = Modified
end
end
object editGridRowCountMax: TEdit
Left = 374
Top = 33
Width = 67
Height = 21
Anchors = [akTop, akRight]
NumbersOnly = True
TabOrder = 3
OnChange = Modified
end
object editGridRowCountStep: TEdit
Left = 309
Top = 33
Width = 57
Height = 21
Anchors = [akTop, akRight]
NumbersOnly = True
TabOrder = 2
end
object editGridRowsLineCount: TEdit
Left = 309
Top = 58
Width = 42
Height = 21
Anchors = [akTop, akRight]
TabOrder = 4
Text = '1'
OnChange = Modified
end
object updownGridRowsLineCount: TUpDown
Left = 351
Top = 58
Width = 16
Height = 21
Anchors = [akTop, akRight]
Associate = editGridRowsLineCount
Min = 1
Position = 1
TabOrder = 5
OnChanging = anyUpDownLimitChanging
end
end
object tabShortcuts: TTabSheet
Caption = 'Shortcuts'
ImageIndex = 4
DesignSize = (
450
353)
object lblShortcut1: TLabel
Left = 199
Top = 69
Width = 45
Height = 13
Anchors = [akLeft, akTop, akBottom]
Caption = 'Shortcut:'
end
object lblShortcutHint: TLabel
Left = 199
Top = 8
Width = 211
Height = 55
Anchors = [akLeft, akTop, akBottom]
AutoSize = False
Caption = 'Please select a shortcut item in the tree.'
WordWrap = True
end
object lblShortcut2: TLabel
Left = 199
Top = 112
Width = 98
Height = 13
Anchors = [akLeft, akTop, akBottom]
Caption = 'Secondary shortcut:'
end
object TreeShortcutItems: TVirtualStringTree
Left = 0
Top = 0
Width = 190
Height = 353
Align = alLeft
Header.AutoSizeIndex = 0
Header.Font.Charset = DEFAULT_CHARSET
Header.Font.Color = clWindowText
Header.Font.Height = -11
Header.Font.Name = 'Tahoma'
Header.Font.Style = []
Header.MainColumn = -1
Images = MainForm.ImageListMain
TabOrder = 0
OnFocusChanged = TreeShortcutItemsFocusChanged
OnGetText = TreeShortcutItemsGetText
OnGetImageIndex = TreeShortcutItemsGetImageIndex
OnGetNodeDataSize = TreeShortcutItemsGetNodeDataSize
OnInitChildren = TreeShortcutItemsInitChildren
OnInitNode = TreeShortcutItemsInitNode
Columns = <>
end
object Shortcut1: TSynHotKey
Left = 199
Top = 86
Width = 207
Height = 19
HotKey = 0
Modifiers = []
OnChange = Shortcut1Change
OnEnter = ShortcutEnter
OnExit = ShortcutExit
end
object Shortcut2: TSynHotKey
Left = 199
Top = 130
Width = 207
Height = 19
HotKey = 0
Modifiers = []
OnChange = Shortcut2Change
OnEnter = ShortcutEnter
OnExit = ShortcutExit
end
end
end
object btnCancel: TButton
Left = 311
Top = 393
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 2
end
object btnOK: TButton
Left = 231
Top = 393
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = 'OK'
Default = True
ModalResult = 1
TabOrder = 1
OnClick = Apply
end
object btnApply: TButton
Left = 391
Top = 393
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = 'Apply'
Enabled = False
TabOrder = 3
OnClick = Apply
end
object btnRestoreDefaults: TButton
Left = 8
Top = 393
Width = 97
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Factory defaults'
TabOrder = 0
OnClick = btnRestoreDefaultsClick
end
object SynSQLSynSQLSample: TSynSQLSyn
SQLDialect = sqlMySQL
Left = 112
Top = 360
end
end