mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
By turning the CREATE DATABASE dialog from an InputQuery into a real form with 2 additional pulldowns: - character set - collation See also: http://www.heidisql.com/forum/viewtopic.php?p=1322#1322
103 lines
2.1 KiB
Plaintext
103 lines
2.1 KiB
Plaintext
object CreateDatabaseForm: TCreateDatabaseForm
|
|
Left = 0
|
|
Top = 0
|
|
BorderStyle = bsDialog
|
|
Caption = 'Create database ...'
|
|
ClientHeight = 135
|
|
ClientWidth = 317
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
Position = poOwnerFormCenter
|
|
OnCreate = FormCreate
|
|
DesignSize = (
|
|
317
|
|
135)
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object lblDBName: TLabel
|
|
Left = 8
|
|
Top = 19
|
|
Width = 31
|
|
Height = 13
|
|
Caption = '&Name:'
|
|
FocusControl = editDBName
|
|
end
|
|
object lblCharset: TLabel
|
|
Left = 8
|
|
Top = 46
|
|
Width = 70
|
|
Height = 13
|
|
Caption = '&Character set:'
|
|
FocusControl = comboCharset
|
|
end
|
|
object lblCollation: TLabel
|
|
Left = 8
|
|
Top = 73
|
|
Width = 45
|
|
Height = 13
|
|
Caption = 'C&ollation:'
|
|
FocusControl = comboCollation
|
|
end
|
|
object editDBName: TEdit
|
|
Left = 88
|
|
Top = 16
|
|
Width = 221
|
|
Height = 21
|
|
Anchors = [akLeft, akTop, akRight]
|
|
TabOrder = 0
|
|
OnChange = editDBNameChange
|
|
end
|
|
object comboCharset: TComboBox
|
|
Left = 88
|
|
Top = 43
|
|
Width = 221
|
|
Height = 21
|
|
Style = csDropDownList
|
|
Anchors = [akLeft, akTop, akRight]
|
|
Enabled = False
|
|
ItemHeight = 13
|
|
Sorted = True
|
|
TabOrder = 1
|
|
OnChange = comboCharsetChange
|
|
end
|
|
object btnOK: TButton
|
|
Left = 153
|
|
Top = 102
|
|
Width = 75
|
|
Height = 25
|
|
Anchors = [akRight, akBottom]
|
|
Caption = 'OK'
|
|
Default = True
|
|
Enabled = False
|
|
TabOrder = 3
|
|
OnClick = btnOKClick
|
|
end
|
|
object btnCancel: TButton
|
|
Left = 234
|
|
Top = 102
|
|
Width = 75
|
|
Height = 25
|
|
Anchors = [akRight, akBottom]
|
|
Cancel = True
|
|
Caption = 'Cancel'
|
|
ModalResult = 2
|
|
TabOrder = 4
|
|
end
|
|
object comboCollation: TComboBox
|
|
Left = 88
|
|
Top = 70
|
|
Width = 221
|
|
Height = 21
|
|
Style = csDropDownList
|
|
Enabled = False
|
|
ItemHeight = 13
|
|
Sorted = True
|
|
TabOrder = 2
|
|
end
|
|
end
|