Changeset 18180 for branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs
- Timestamp:
- 01/10/22 10:15:25 (3 years ago)
- Location:
- branches/3138_Shape_Constraints_Transformations
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3138_Shape_Constraints_Transformations
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Data.Views (added) merged: 18165-18166
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views/3.3
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Data.Views/3.3 (added) merged: 18165-18166
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs
r17180 r18180 86 86 87 87 protected virtual void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 88 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 88 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 89 89 valueLabel.Select(); // select label to validate data 90 91 if (e.KeyCode == Keys.Escape) {90 e.SuppressKeyPress = true; 91 } else if (e.KeyCode == Keys.Escape) { 92 92 valueTextBox.Text = Content.GetValue(); 93 93 valueLabel.Select(); // select label to validate data 94 e.SuppressKeyPress = true; 94 95 } 95 96 }
Note: See TracChangeset
for help on using the changeset viewer.