473,748 Members | 2,276 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Selected Text In Text Box

My textBox comes on with all the text selected. Setting "hide
selection" to "true" or using SelectedText or SelectedTextLen gth
will not stop the highlighting. How do I get rid of the text pre-
selection when the display comes on?
--
Many thanks,
Patrick.
Nov 15 '05 #1
3 7436
Are you talking about the standard TextBox Control from .NET? Or a 3rd party
control.
Because the .NET TextBox does not Select all text automatically.

"Patrick De Ridder" <00*@000.00> wrote in message
news:10******** *******@evisp-news-01.ops.asmr-01.energis-idc.net...
My textBox comes on with all the text selected. Setting "hide
selection" to "true" or using SelectedText or SelectedTextLen gth
will not stop the highlighting. How do I get rid of the text pre-
selection when the display comes on?
--
Many thanks,
Patrick.

Nov 15 '05 #2
On Thu, 16 Oct 2003 16:48:42 +0200, "Dan Cimpoiesu"
<da**********@g mx.net> wrote:
Are you talking about the standard TextBox Control from .NET? Or a 3rd party
control.
Because the .NET TextBox does not Select all text automatically.

"Patrick De Ridder" <00*@000.00> wrote in message
news:10******* ********@evisp-news-01.ops.asmr-01.energis-idc.net...
My textBox comes on with all the text selected. Setting "hide
selection" to "true" or using SelectedText or SelectedTextLen gth
will not stop the highlighting. How do I get rid of the text pre-
selection when the display comes on?


I am talking about a NET textBox that I am using in multi-line mode.
All the text comes on selected and I want to get rid of the selection.
--
Regards,
Patrick.
Nov 15 '05 #3
On Thu, 16 Oct 2003 18:43:45 +0200, Patrick De Ridder <00*@000.00>
wrote:
news:10****** *********@evisp-news-01.ops.asmr-01.energis-idc.net...
My textBox comes on with all the text selected. Setting "hide
selection" to "true" or using SelectedText or SelectedTextLen gth
will not stop the highlighting. How do I get rid of the text pre-
selection when the display comes on?


The text box is on a form, the form, in turn, is on a panel. I have
solved the problem by giving focus to the panel after displaying the
text. Thanks anyway.
--
Regards,
Patrick.
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
10194
by: Edo van der Zouwen | last post by:
I have the following problem. On a website there's a (simple) feedback form. This is used also by Polish visitors who (of course) type Polish text using special characters. However, when I receive the text in my mailbox, all special characters have been turned into mess...... For example: "wspólprace" is turned into "współprace". It seems PHP is handling the Unicode-8 strings quite well (when I
9
2249
by: lkrubner | last post by:
I've got a function, you can see it below, that is being called onmouseup in the textarea on my main form. The idea is to find a selection if possible and store that text in a global variable. I can't get this to work in any browser on a Mac, though it works alright on a PC. What am I missing?
0
1276
by: Frank Xia | last post by:
How to highlight selected tab text? I only want the tab page text to be highlighted not the whole content on the page. I can't find a related property to be set. Need help here. Thanks a lot!
0
1126
by: [Yosi] | last post by:
How can I change the selection text back ground color (ritchText). I successfully change the text color by : this.MessageRichTextBox.SelectionColor = Color.Red How can I change also the Back ground of the selection text?
1
2173
by: Suresh Tri | last post by:
Hi, I was trying to overload concat operator ||(text,text) such a way that it behaves like Oracle. i.e. I want 'abc' || null to return 'abc' instead of null. I know that it is not the expected behaviour in postgres, but since I am migrating the database from oracle to postgres , I need this behaviour. But when I try to drop the existing || operator, I get the following
2
7471
by: Johann Robette | last post by:
Hi, I'm trying to call the array_to_string function like this : SELECT array_to_string(array, '~^~') --> it comes directly from the doc. I get this error msg : ERROR: parser: parse error at or near ", text) does not exist Unable to identify a function that satisfies the given argument types
4
1972
by: David Garamond | last post by:
What is "text + text" supposed to do right now? It doesn't seem very useful to me. What about making "text + text" as an equivalent for "text || text"? Most strongly-typed programming languages do this. And MS SQL Server too, I think (CMIIW). -- dave ---------------------------(end of broadcast)---------------------------
2
14655
by: Andrew Poulos | last post by:
I've managed to get the text a user has selected on a page (in a DIV not a TEXTAREA) but I don't understand DOM methods well enough to change it. That it to replace the text with some other text. I've tried using deleteContents but I couldn't get it to work. And my experiments with insertNode worked only intermittently. I've read the relevant sections of developer.mozilla.org but while I understand what the methods are supposed to do I...
1
5040
by: Dinu | last post by:
hi i am having a gridview in aspx page and a usercontrol in master page of that page now what i want is selected row text to be displayed in usercontrol i wrote code as follows: Protected Sub gvwServices_SelectedIndexChanged(ByVal sender As Object,
2
2019
by: ahighfidelity | last post by:
Hi. I wonder if someone can help me. I have just recently finished our designing and building our company website... www.mediajunction.co.uk All appears fine when viewing it fully on Firefox and all IE web browsers. However, my boss has raised a couple of concerns which are driving me mad. The problem is, as you can see from the Page Source below, the main copy from each page appears via an iframe. Is there a way to make this text...
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9253
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6077
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2216
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.