[Gambas-user] Watermark on text box
Jorge Carrión
shordi at ...626...
Tue Feb 10 22:56:29 CET 2015
Tobi,
Great! A fine example of a exentsion of a class.. Thanks
2015-02-10 18:01 GMT+01:00 Tobias Boege <taboege at ...626...>:
> On Tue, 10 Feb 2015, Rolf-Werner Eilert wrote:
> > Am 10.02.2015 14:03, schrieb Yahoo:
> > > Hi Benoit,
> > >
> > > Do you think if it's possible to add feature in text box object like a
> text as a king of help displayed into the textbook in light grey for
> example when this one is empty. As soon something is entered into the
> textbook, this text could disappear.
> > >
> > > It could be very useful to help the user of a software to know what do
> enter in some fields
> > >
> >
> > Or even simpler: set Background and Foreground colors appropriately and
> > give the help text as default text for the Textbox. Then wait for the
> > first letter to be typed or a mouse click into the textbox, delete the
> > default text, set Background and Foreground to standard values and start
> > with the typed text.
> >
>
> Forgive me but that sounds awfully hack-y.
>
> Attached is a cleaner approach to it. It is also published on the farm
> server, if you prefer to get it this way.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
More information about the User
mailing list