473,654 Members | 3,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C#-FORM TextBox won't show text as highlighted until focus is given

9 New Member
I know this is normal operation for the C# TextBox control, but it will not show highlighted text as being highlighted until focus is given to that particular control. I was wondering, is it possible to change this behavior?

Thanks in advance.
Jun 16 '07 #1
2 1506
Annath
9 New Member
Nevermind, I found a better way to do what I wanted to do with a RichTextBox control.

PS. Is it not possible to edit posts on this board? I don't see an edit button or link.
Jun 17 '07 #2
kenobewan
4,871 Recognized Expert Specialist
You can edit for a spelling mistake, for e.g., but after that only we moderators and admins can edit :).

MODERATOR
Jun 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5311
by: john woo | last post by:
Hi I'm not good at JS, but want to get more about it. I want to use a JSP (the java code just used to get date, the rest are html and javascript), to display a table. the requirement is the all rows in even number in light-blue, rows in odd number in light gray, when a mouse clicks on a row, this row gets highlighted and in yellow, and it keeps highlighted
3
21702
by: Phill | last post by:
I thought when you tabbed into a textbox that the text it contained was automatically highlighted. This use to be the default in win32. Is there an easy way to do this in .NET. I don't want this to happen if the mouse is used to select the TextBox. Seems wierd, If the Textbox has the default text in it the higlight works but not if you edit it. Thanks.
1
1315
by: Tor Inge Rislaa | last post by:
Toolbar doesn't show text I have a toolbar on top of my form. The .text property is set for each button, but it is visible only in design mode. When I run my application the text is invisible. If I set the .TextAlign property for the Toolbar to Right the text is shown both designtime and runtime. Any suggestions? TIRislaa
3
30123
by: abc my vclass | last post by:
My win-form have many numericupdown controls to applied. But numericupdown control don't like textbox, text box control can automatic selected text when got focus. Is there any method can let me set all numericupdown autoselect text when gotfocus?
3
3637
by: Pieter | last post by:
Hi, I'm making an Outlook (2003) Add-In (VB.NET 2005), with a simple button and a textbox (msoControlEdit). When the user types something in the textbox, and clicks on the button, the text in the textbox should be used. But on the moment that the textbox loses the focus, it loses the text also... Any idea how to get around this problem?
3
1635
by: rbunn83815 | last post by:
Hello Everyone! I saw a few discussions on saving highlighted text in a text box. I am interested in saving text highlighted anywhere on a web page and to save that text as a string in C#. I know C# fairly well, but I'm a newbie with JavaScript and ASP.NET. If anyone knows a simple elegant way to do this I would really appreciate it, but I'll take any solution at this point. Even if you can point me in the right directions that would...
0
1360
by: qutspan | last post by:
When I create taskbox on the form the line beside the box wont show up. it show up untill I have MouseEnter event occur. Also when I have 2 taskbox on the form it does draw the line around the label however the line wont draw when i have 1 taskbox move away from another taskbox. The line is gone at last sec when taskbox move away. could someone please tell me where does I made mistake and how to fix it thank you Below is the code.
0
1515
by: ranjithpanakal | last post by:
I am using a gridview and a textbox in an update panel. My aim is to search and display the items in the gridview based on the value in textbox. When a string is entered into textbox , it searches the fields that matches the string and binds it to the gridview. It is working perfectly without the full page refresh. The problem is that when I type something fast, it loses the focus, and i needed to click the textbox again with mouse in order...
0
8290
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
8815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8593
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
7306
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
5622
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
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1593
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.