on 10-05-2006 7:35 AM
Hi All,
I am using TextEdit element.I want to set a fixed length for this dynamically.Please help me regarding this.
thanx
anirudh
Hi
Create two attribute with type int and bind it to the Text Edit's rows and cols .
You can change the value at run time
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I guess you are looking to set the "max length" of the textedit so that you can limit user's input to some length. Try this
IWDAttributInfo attrInfo = <get attribute info> // get attribute info for attribute to which value property of textedit has been bound
int maxLength = <get max length dynamically>; // get max length to be specified
attrInfo.getModifiableSimpleType().setMaxLength(length);
Regards
KK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.