Files
HeidiSQL/source/data_sorting.dfm
Ansgar Becker cc84963b25 Implement a dialog for easier accessing the options for ordered columns.
This has one positive side effect: ViewData no longer re-saves an ORDERCLAUSE to registry after it has been read. At the same time the ORDERCLAUSE is read everytime when grid is filled, not only the first time. Those changes were needed to be able to apply an ORDERCLAUSE which was generated and saved by the new dialog.

Left for later: Moving order-columns up and down. Tested that with a TUpDown which seems to ignore clicks sometimes and then doesn't fire OnClick.
2007-07-12 22:33:59 +00:00

65 lines
1.3 KiB
Plaintext

object DataSortingForm: TDataSortingForm
Left = 0
Top = 0
BorderStyle = bsNone
Caption = 'DataSortingForm'
ClientHeight = 63
ClientWidth = 204
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object pnlBevel: TPanel
Left = 0
Top = 0
Width = 204
Height = 63
Align = alClient
BorderWidth = 3
TabOrder = 0
DesignSize = (
204
63)
object btnOK: TButton
Left = 3
Top = 34
Width = 60
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'OK'
Default = True
Enabled = False
ModalResult = 1
TabOrder = 0
OnClick = btnOKClick
end
object btnCancel: TButton
Left = 68
Top = 34
Width = 60
Height = 25
Anchors = [akLeft, akBottom]
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 1
end
object btnAddCol: TButton
Left = 134
Top = 34
Width = 60
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Add Col'
TabOrder = 2
OnClick = btnAddColClick
end
end
end