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:

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

but right now I am still not successful.

I hope you can help me with this simple concern as I am in a hurry. I 
might be able to introduce this to my clients. It's nice, I like the 
idea. I been poking at this toolkit since 2006 and it's only now that I 
was able to put it into use after I tried the Ext add since 1.99.

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. :)

-- 
Archimedes B. Cortes
Application Developer - Server
Systems and Technology Group
GMA New Media Inc.
12th Floor GMA Network Complex
Timog , cor EDSA
Quezon City, 1103
+63-917-381-87-52

                 ,_
       _,..._  ,d$$ccc_
      d$$$$$$hc$$$$$$$$h.
    ,d$$$$$$$$$$$$$$$O$$$.
   ,$$$$h$$$$$FF$$$$$$$$$|
  ,d$$$$$h$$F;' `F$$;':?$'
  d$$F?$$$F'      ',c. +'
 d$$h     c$$h    $$$$'|
d$$$h    $$F'     `' ' |
$$$$$L   `',-.    ,`.  |
$$$$$$h   .'  `      | |
d$$$$$$   |        O ' `.
 $$$$$F   | O  , __. , | |
  Y$FF'      ,' '  )"  |_|
  ;"'      "'   __/    |'
 |,`.        /      ,  |
 |  |      .'`--..-'   |
 `. `       (.___,/    |
   `._,.     \   .'   |
        \     \_,'    |
   -hrr- \           /
          `.        /
            `-....-'


-------------------------------------------------------------------------
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