Implement automatic closing of data sorting + column selection dialogs when clicking elsewhere by catching the FormDeactivate event. (rfe #562 and rfe #579)

This commit is contained in:
Ansgar Becker
2008-06-23 19:49:11 +00:00
parent 2d59e35e38
commit efa71f50bb
5 changed files with 69 additions and 8 deletions

View File

@@ -12,6 +12,8 @@ object DataSortingForm: TDataSortingForm
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnDeactivate = FormDeactivate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
@@ -49,6 +51,7 @@ object DataSortingForm: TDataSortingForm
Caption = 'Cancel'
ModalResult = 2
TabOrder = 1
OnClick = btnCancelClick
end
object btnAddCol: TButton
Left = 134