Hello,
I have an UltraComboEditor and the user can input values on it. I used the AutoComplete property to do that.
But now I have a problem. I need to make sure that my user can delete a value that he wrote. I use the function canUndo but it not works.
How can I solve my problem?
Thank you.
Hello Maria,
If I understood well your scenario, maybe you could try to used ultraComboEditor1.Undo(); method instead of CanUndo(). Our method CanUndo() get boolean value, indicating whether the user can undo the editor`s previous operation. Also I suppose that your users could try Undo action from context menu during the control is in edit mode
Please let me know if you think that I misunderstood your scenario or if you have any questions.
Regards
First of all I want to thank you for your quick anwser.
I've tried ultraComboEditor.Undo() on the definition of my control mas it doesn't work.
My senario: I have a ultracomboeditor and I want to assure that my users can type a value and, if it's necessary delete some character they've typed before when they typed "Backspace".
My code:
this.ultraComboLeftEyeAxis.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
this.ultraGridBagLayoutManager1.SetGridBagConstraint(this.ultraComboLeftEyeAxis, gridBagConstraint1);
this.ultraComboLeftEyeAxis.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Append;
this.ultraComboRightEyeAxis.Undo();
this.ultraComboRightEyeAxis.MaxLength = 3;
This code doesn't work. When I type "Backspace" the app ignores this action.
Can you help me?