Categories | Question details Back To List | ||
How to set the maxlength for a combo Text Hi Team, I need to set the maximum length for combo box Text as 12. If i try to enter the 13th character in the combo box.. it should not be allowed.. How can I achieve this? Thanks in Advance Regards, Ashok Answer posted by Support on Apr 02, 2008 09:40 There is no built in support for such feature, but you can use the next approach - attach custom code to onKeyPressed event - get length of combo text by combo.getComboText - if length exceed limit, update it and set shorter value back by combo.setComboText |