Skip to content

Commit 3ea4a90

Browse files
committed
feat: assign OK button to Enter and Cancel button to Esc
1 parent 446d78c commit 3ea4a90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/connections.lfm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ object connform: Tconnform
11861186
BorderSpacing.Left = 6
11871187
Caption = 'Open'
11881188
Constraints.MinWidth = 105
1189+
Default = True
11891190
Enabled = False
11901191
TabOrder = 0
11911192
OnClick = btnOpenClick
@@ -1199,6 +1200,7 @@ object connform: Tconnform
11991200
Anchors = [akTop, akRight]
12001201
AutoSize = True
12011202
BorderSpacing.Left = 6
1203+
Cancel = True
12021204
Caption = 'Cancel'
12031205
Constraints.MinWidth = 105
12041206
ModalResult = 2

0 commit comments

Comments
 (0)