10-22-2007 09:59 AM
10-23-2007 11:03 AM
10-23-2007 11:50 AM
10-23-2007 12:09 PM
10-23-2007 05:37 PM
10-24-2007 11:06 AM
10-25-2007 11:18 AM
10-25-2007 08:35 PM
10-29-2007 09:04 AM
10-29-2007 11:57 AM
Pyramid,
I have created a work around for this issue that requires you to derive from the NumericEdit control and use an instance of this derived control in your application. The dervied class is outlined below.
A couple of things to note:
public class MyNumericEdit : NationalInstruments.UI.WindowsForms.NumericEdit { protected override void OnKeyDown(KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { double newValue; bool success = Double.TryParse(this.Text, out newValue); if (success) { Value = newValue; } } base.OnKeyDown(e); } }
Please let me know how this works out for you. If there is anything else regarding this issue that our support team can help you with, please let us know.