Hi, I need a feature like

On selecting a icon on the toolbar button, it should be highlited.

On clicking in the Pane textfield to be created at the moue Position.

It's like creating a textbox in MSWord, PowePoint. Can Someone help please