-
Sep 8th, 2017, 09:08 AM
#1
Thread Starter
Junior Member
Watermarks in texboxes
I am trying to find examples or a method to insert watermarks in textboxes. I am using VS2015 and that option isnt there and the code from earlier version 2012, 2010, etc.. doesnt seem to work.
Thanks,
Richard
-
Sep 8th, 2017, 09:38 AM
#2
Re: Watermarks in texboxes
There's no reason that code that works in recent earlier versions should not work. WinForms TextBoxes haven't changed in that time. Show us what you're using and provide any other relevant information, e.g. error messages.
-
Sep 9th, 2017, 09:16 AM
#3
Re: Watermarks in texboxes
If you want text to display when there is nothing in a text box then check out the following where when there is no information in the text box the "watermark" or as it's commonly known as "CUEBANNER" the "watermark" is not
shown.
VS2015 solution with both VB.NET and C# code samples.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|