|
-
Jan 12th, 2011, 11:13 AM
#1
Thread Starter
Hyperactive Member
Textbox's description..?
You know, when you're in Windows 7 and you tap on the
start button, You see the search line. It says "Search files
or programs..." in agrey text, then for every letter you put
it disspares. It's called a text des, I think.. how do I make it?
-
Jan 12th, 2011, 11:30 AM
#2
Re: Textbox's description..?
Its known as a TextBox Watermark. But I don't think there is a built-in property in the framework right now for doing it so you'll have to code that functionality. Here are to example I found on the web, the second one is in C# but it's not to hard to translate to VB.NET.
example1
example2
Edit : here's a third example in C# too.
Alex
.NET developer
"No. Not even in the face of Armageddon. Never compromise." (Walter Kovacs/Rorschach)
Things to consider before posting.
Don't forget to rate the posts if they helped and mark thread as resolved when they are.
.Net Regex Syntax (Scripting) | .Net Regex Language Element | .Net Regex Class | DateTime format | Framework 4.0: what's new
My fresh new blog : writingthecode, even if I don't post much.
System: Intel i7 920, Kingston SSDNow V100 64gig, HDD WD Caviar Black 1TB, External WD "My Book" 500GB, XFX Radeon 4890 XT 1GB, 12 GBs Tri-Channel RAM, 1x27" and 1x23" LCDs, Windows 10 x64, ]VS2015, Framework 3.5 and 4.0 
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
|