Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 20th, 2008, 04:46 AM
Registered User
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to narmer93 Send a message via MSN to narmer93 Send a message via Yahoo to narmer93
Default need some help with typing

hi i need some help with typing
Code:
textbox1.text=textbox1.text&"anything i want to add"
when i type the previous code ,the typing curser moves to the begining of the textbox
how can i make it move to the end of the textbox and continue typing normally

 
Old May 20th, 2008, 05:28 AM
Friend of Wrox
 
Join Date: Oct 2007
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi
Default

Try following
textbox1.selstart=len(textbox1.text)
textbox1.selend=len(textbox1.text)

urt

Help yourself by helping someone.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Heap of typing errors HELP!!! ours All Other Wrox Books 11 December 24th, 2007 11:23 AM
a problem with textbox typing, thanks! raybristol ASP.NET 1.0 and 1.1 Basics 2 December 16th, 2005 06:02 PM
Typing problem with the Phile DM2 BOOK: ASP.NET Website Programming Problem-Design-Solution 5 May 11th, 2005 06:21 AM
How to create typing effect with text? [email protected] Flash (all versions) 2 March 26th, 2004 01:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.