Does anybody knows how to do this.?I have search a lot but could not find anything worthy.

Could someone please provide me with an example.?

Any help in this regard would be much appreciated.