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.

QueProviderDemo

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. 

4 Responses to “Cue Provider for Windows Forms”

  1. Filip Says:

    Hi Mitch,

    Any chance of having a look at the source?

  2. Filip Says:

    Hi Mitch,

    Something wrong with the link to the zip file.

  3. Mitch Denny Says:

    Fixed! Thanks for letting me know.


Leave a Reply