Hi Rohit;
Similar to what John suggested but in my STD Framework, I created a Custom Visual User Object (CVUO) that implements an SLE, and Static Text (ST) object to mimic a "Hint Text" (aka "Place Holder Text") control, as follows:
I did not incorporate the magnifier image into the CVUO because I wanted the ability of the App Developer to use the HT CVUO for any data input. The key is that the CVUO provides the base look & feel and script to hide/show the "Hint Text" when the SLE has or does not have datum.
As a PB developer, if I inherit from the above ancestor CVUO and then add a picture of the magnifying image to the same background layer as the ST object, you would end up with the same GUI as you asked about.
Food for thought.
BTW: If you download the framework, the CVUO's that you are looking for are: "vc_mle_hinttext_master", "vc_sle_hinttext_master" and "vc_em_hinttext_master". Feel free to use these as a design mold for creating your own CVUO for this purpose if you do not want to use my entire framework. ;-)
HTH
Regards ... Chris