Combo.setTextLimit

Sets the maximum number of characters that the receiver's text field is capable of holding to be the argument. <p> To reset this value to the default, use <code>setTextLimit(Combo.LIMIT)</code>. Specifying a limit value larger than <code>Combo.LIMIT</code> sets the receiver's limit to <code>Combo.LIMIT</code>. </p> @param limit new text limit

@exception IllegalArgumentException <ul> <li>ERROR_CANNOT_BE_ZERO - if the limit is zero</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see #LIMIT

class Combo
void
setTextLimit
(
int limit
)

Meta