Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
| Search | Today's Posts | Mark Forums Read
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI 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 August 3rd, 2006, 03:10 AM
Registered User
 
Join Date: Aug 2006
Location: Trivandrum, Kerala, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to clickajin Send a message via Yahoo to clickajin
Default How to select text by default in a text box?

Hi all,

I have a screen which has a textbox...the cursor gets placed by default in the textbox!I enter a text in the textbox! And if I press submit..I get a resultset!

Now the issue is: If I want to enter a new text in the textbox...the new text gets appended to the earlier one.(which is not needed) I want a suggestion whereby I can make the earlier text a default selection and if I want to enter something new the earlier text should be highlighted so that when I enter something new, it won't be appended but instead it gets changed completely when I type!

Please help me out! This is urgent!!




Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Box .text Property Displays conflicting Valus JPOhlman Visual Basic 2005 Basics 3 August 23rd, 2006 02:39 PM
Can't set text property of dynamic text box sreerajrs ASP.NET 1.0 and 1.1 Professional 1 May 31st, 2006 09:39 PM
insert text into a text box by selecting an link gavmc Other Programming Languages 0 February 15th, 2006 09:46 AM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 09:49 PM
How to insert default value if text box is empty akc Javascript How-To 2 November 7th, 2003 11:55 AM





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