Hello everyone! I added a custom editor with a drop-down panel that has a multi-line text box. But when I try to press Enter to go to a new line, the panel collapses. Can I invoke a collapse event on button click?
Dmitry,
should be fixed now in our latest Wisej release (2.1.60).
Best regards
Frank
Hi, everyone. Looks like problem still exists.
Hi Dmitry,
#2234 is fixed in our latest release (2.1.58).
Best regards
Frank
Hi Dmitry,
We were actually able to replicate the issue and it’s been logged as issue #2234. The issue has been fixed and will be available in the next build!
Best,
Levie
Multiline TextBox can accept Enter or Tab by setting
textBox1.AcceptsReturn = true; textBox1.AcceptsTab = true;
But… when in a custom combobox dropdown looks like the dropdown intercepts the Enter to close before the textarea. Will log as an issue.
Also, in your sample app you can set/get the value like this:
var ctrl = new ButtonTextBox(); ctrl.Value = Convert.ToString(value); service.DropDownControl(ctrl); value = ctrl.Value;
and you can close the dropdown without registering an additional event, although that works too:
private void OK_Click(object sender, EventArgs e) { ((UserComboBox)this.Parent).DroppedDown = false; }
HTH
Please login first to submit.