Sending Ctrl+Home key to text box on its lost focus

ashu2k6k

Member
Joined
May 20, 2008
Messages
8
Programming Experience
Beginner
Hi,

In my application there is multiline textbox. I want when user enters data more than the visible lines then on leave of textbox. I want first line is displayed instead on last line.

For eg: If I entered "In my application there is multiline textbox" text in text box,then it appears as:
_________________
| there is multiline |
| textbox. |
|_______________ |

On leave of textbox I want textbox to appear as:
_________________
|In my application |
| there is multiline |
|_______________ |

I searched for sendkey method. But didn't get how to send Control and Home key simultaneously.

Thanks.
 
Back
Top