Now I'm trying to program a ComboBox and the result is that it works but with some issues:
- Object shows correctly in screen initial value selected in State.Historical
setting comboButton.SelectedIndex = comboselection (int 0) during Invoke to create control grid
- Object has 2 events programmed
comboButton.LostFocus += comboButtonevent; - Print value on output window - Working
comboButton.SelectionChanged += SelectedIndexChanged - Copies value index to textbox in control grid - Working
The problem is that when I click and select an option the combobox gets the selected value, but has 2 issues
- error message box "unhandled exception: object reference not set to an instance of an object"
- Combobox text does not show the selected item on screen, stays with same text as begins. Text does not change but gets the selected value
Uploaded a file "tradegrid.cs". It contains grid and combobox events, not strategy logic or commandbuttons events
Maybe this is not a directly supported feature but any help would be very appreciated
Thanks
Comment