Hey Archimedes,

2008/5/13 Archimedes B. Cortes <[EMAIL PROTECTED]>:
>
>  Hi! Again, another concern with lineedit.
>
>  How can I set the maximum length of a WLineEdit or Ext::LineEdit? Sorry,
>  I am new to Wt. I really appreciate the toolkit as I am a Qt toolkit
>  fan. I was expecting a setMaxLength() function, but documentation led me
>  to WValidator which probably I don't know how to use. I already did:

I actually didn't consider this method yet. It looks like it can be added...

>  Ext::LineEdit* pLblUsername = new Ext::LineEdit();
>  pLblUsername->setValidator(new WValidator(0, 16));

That should be: new WLengthValidator(0, 16)?

>  but right now I am still not successful.

What is the actual error or problem you get?

>  In return I might be able to contribute by coming up with a tutorial.
>  Right now, I can't contribute yet on the code since I'm not yet too
>  familiar with the core. Having said that, I hope that explains my
>  intention. :)

That would be really nice. We are always short of nice tutorials!

Regards,
koen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to