R
Robert Sillett
I am new to the NET CF and am having problems with ShowDialog(), or possibly
I shouldn't be using this call anyhow.
What I am trying to do is to work-around the comboBox limitation of not
accepting user input. To do this, I put a button beside the comboBox. When
the button is clicked, I open a new form that contains a textBox, an OK
button, and a Cancel button:
UserDefined myModal = new UserDefined();
myModal.ShowDialog();
myModal.Dispose();
The user then enters text into the text box, clicks OK, and I then take that
value and add it to the comboBox.
When I do this, the form opens just fine. But the InputPanel disappears,
making it impossible to enter text into the textBox.
I've tried dragging an inputPanel object from the IDE, but that just
displays a keyboard for a split second as the form loads.
What am I doing wrong?
Thanks in advance!
Bob
I shouldn't be using this call anyhow.
What I am trying to do is to work-around the comboBox limitation of not
accepting user input. To do this, I put a button beside the comboBox. When
the button is clicked, I open a new form that contains a textBox, an OK
button, and a Cancel button:
UserDefined myModal = new UserDefined();
myModal.ShowDialog();
myModal.Dispose();
The user then enters text into the text box, clicks OK, and I then take that
value and add it to the comboBox.
When I do this, the form opens just fine. But the InputPanel disappears,
making it impossible to enter text into the textBox.
I've tried dragging an inputPanel object from the IDE, but that just
displays a keyboard for a split second as the form loads.
What am I doing wrong?
Thanks in advance!
Bob