If you are creating an alternate description restriction for a user function, you will get an unhandled exception if you select [RefObject] [must] [be in state].
Every other object restriction works properly.
The exception occurs the moment you select "be in state"
System.NullReferenceException: Object reference not set to an instance of an object.
at ADRIFT.frmRestriction.cmbWhatO_ValueChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Infragistics.Win.UltraWinEditors.TextEditorControlBase.FireValueChanged(EventArgs e)
at Infragistics.Win.UltraWinEditors.UltraComboEditor.OnValueChanged(EventArgs args)
at Infragistics.Win.UltraWinEditors.TextEditorControlBase.OnValueChanged(Object sender, EventArgs args)
at Infragistics.Win.EmbeddableEditorBase.RaiseValueChangedEvent()
at Infragistics.Win.EditorWithCombo.Infragistics.Win.IValueListOwner.OnSelectedItemChanged()
at Infragistics.Win.ValueList.ProcessSelectedIndexChanged(Int32 selectedIndex, Boolean commit, Boolean forceOwnerUpdate)
at Infragistics.Win.ValueListDropDown.OnSelectedIndexChanged()
at Infragistics.Win.ValueListDropDown.SetSelectedIndexHelper(Int32 value, Boolean bringIntoView)
at Infragistics.Win.ValueListDropDown.SelectItemByMouse(ValueListItem valueListItem)
at Infragistics.Win.ValueListDropDown.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Infragistics.Win.ValueListDropDownUnsafe.WndProc(Message& message)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|