how i can trag and drop on the run time on me program ??

example: i want to trag some filed (data bass table collumn)and drop it in text editor and it will be like this on the editor #tablename.collumnName#

i will be happe if you kan hepl me