Cue Provider for Windows Forms
June 12, 2006
I was reading this post by Daniel Moth about a really simple technique for enabling text ques in TextBoxes. Everytime I see a feature which requires a bit of interop code I automatically think that it is a job for an extender provider. This was no exception.
On our internal TFS installation I created a team project a month or so ago to hold useful snippets of code that our consultants put together. It hasn’t seen much use yet but I thought that I could create an extender provider to simply what Daniel demonstrates on his post. Here is a screenshot of the extender provider actually working.
If you would find this useful feel free to download the latest build of the library. Add the DLL to your ToolBox then drag the CueProvider component onto the design surface. You should then be able to fill in the “Cue” property under the “Appearance” category.
June 14, 2006 at 12:00 am
Hi Filip,
Sure, you can grab it from here:
http://notgartner.com/Downloads/CueProviderSource.zip
June 14, 2006 at 12:00 am
Hi Mitch,
Any chance of having a look at the source?
June 12, 2006 at 12:00 am
Hi Mitch,
Something wrong with the link to the zip file.
June 12, 2006 at 12:00 am
Fixed! Thanks for letting me know.