Forum Discussion
- tristaanogreEsteemed ContributorDo it in a couple of steps.
1) Assign the value of the "text" property of the object to a variable
2) Concatenate your new text onto the old and reassign the result back to the variable
3) Use setText to set the value of the control to the value of the variable. - HKosova
Alumni
Hi Praveen,
You can also use the Keys method to send the Ctrl+End shortcut to move the insertion point at the end of the text and then type the new text:textBox.Keys("^[End]new text")
- praveensqaContributorHi Helen Kosova,
Excellent.... It working for me. same thing i was posted in "http://www.sqaforums.com/showflat.php?Cat=0&Number=697367&an=0&page=0&gonew=1#UNREAD"
Thanks alot.
Regards,
Praveen