Exactly!!!

email_->setEmptyText("Email");
pwd_->setEmptyText(tr("pwd"));

It worked perfectly!!! Thank you.


What surprises me is that when using Wt seems you have thought of
everything ;)

I just saw in Dbo::Query that you also implemented the offset and limit
options! Very good!

Wt seems very mature...  (is strange that it is still not known)

On 06/03/2011 08:38 AM, Koen Deforche wrote:
> Hey,
> 
> That seems like setEmptyText() functionality?
> 
> Koen
> 
> On Jun 3, 2011 6:08 AM, "John Robson"
> <[email protected]
> <mailto:[email protected]>> wrote:
>> Hi everyone...
>>
>> How to do this (value, onfocus, onblur) using WLineEdit? (Or maybe not
>> WLineEdit, which is better...)
>>
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> <html xmlns="http://www.w3.org/1999/xhtml";>
>> <head><title>Text Inside Input</title>
>> <meta http-equiv="Content-Type" content="text/html; />
>>
>> <input type="text" name="s" id="s" value="Text to be displayed here"
>> onfocus="if(this.value==this.defaultValue)this.value='';"
>> onblur="if(this.value=='')this.value=this.defaultValue;"/>
>>
>> </body></html>
>>
>> Tks,
>> John


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to