リビジョン | 85 (tree) |
---|---|
日時 | 2018-09-22 13:13:04 |
作者 | yukio_miura |
(メッセージはありません)
@@ -99,8 +99,13 @@ | ||
99 | 99 | Case TypeOf MyControl Is Panel OrElse _ |
100 | 100 | TypeOf MyControl Is GroupBox OrElse _ |
101 | 101 | TypeOf MyControl Is UserControl OrElse _ |
102 | - TypeOf MyControl Is TabControl | |
103 | - Me.AddHandler_Controls_KeyDown(MyControl.Controls) | |
102 | + TypeOf MyControl Is TabControl OrElse _ | |
103 | + TypeOf MyControl Is Microsoft.VisualBasic.PowerPacks.DataRepeater | |
104 | + If Not TypeOf MyControl Is Microsoft.VisualBasic.PowerPacks.DataRepeater Then | |
105 | + Me.AddHandler_Controls_KeyDown(MyControl.Controls) | |
106 | + Else | |
107 | + Me.AddHandler_Controls_KeyDown(CType(MyControl, Microsoft.VisualBasic.PowerPacks.DataRepeater).ItemTemplate.Controls) | |
108 | + End If | |
104 | 109 | Case TypeOf MyControl Is TextBox |
105 | 110 | AddHandler MyControl.KeyDown, AddressOf Me.KeyDownEvent |
106 | 111 | Case TypeOf MyControl Is ComboBox |