Hey,

That seems like setEmptyText() functionality?

Koen
On Jun 3, 2011 6:08 AM, "John Robson" <[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; charset=iso-8859-1" />
>
> <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
------------------------------------------------------------------------------
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