473,387 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Highlight text when Tab or Shift+Tab

How can i highlight the whole text in a textbox control when a user tab or
shift+tab into the control?
Thanks
Tony
Nov 15 '05 #1
2 7156

"Tony" <li***********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
How can i highlight the whole text in a textbox control when a user tab or
shift+tab into the control?
Thanks
Tony


Tony, if I understand correctly then you can use the Enter Event of the
textbox and
this.textBox2.SelectAll();
Nov 15 '05 #2

"Tony" <li***********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
How can i highlight the whole text in a textbox control when a user tab or
shift+tab into the control?
Thanks
Tony


Tony, if I understand correctly then you can use the Enter Event of the
textbox and
this.textBox2.SelectAll();
Nov 15 '05 #3

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

Similar topics

2
by: Bogdan Zamfir | last post by:
Hi, When users TAB to a field, I want it not to select all field content, but instead go to either begin or end of the field. This because sometimes user TAB to a field then type something by...
0
by: Tony | last post by:
How can i highlight the whole text in a textbox control when a user tab or shift+tab into the control? Thanks Tony
2
by: orekinbck | last post by:
Hi There In a C# windows app in .NET 2003, I would like to capture when the user is within a certain text box and holds down shift then presses tab. Atm, my code is: protected override bool...
10
by: Tim Frawley | last post by:
I am attempting to detect a Shift+Tab in the KeyPress event for back navigation on a control that doesn't support this method. Does anyone have any ideas how to compare e.KeyChar to a ShiftTab? ...
2
by: UJ | last post by:
How do you set the icon for when somebody presses Shift-Tab ? I have already set the application icon and the form icon but they aren't showing up in Shift-Tab. TIA - Jeff
0
by: davelewicki | last post by:
Is there a way to trap for shift - tab in a infragistics grid event?
1
by: andmarti | last post by:
Anyone can help me getting the shift + tab key combination ? I tried with getch () but with no success. May be using the sys.stdin ?? Please, help would be very appreciated. -- Andrés M....
11
by: =?Utf-8?B?RWl0YW4=?= | last post by:
Hello, I have a WinForm application. The form has one Tab Control and one ToolStrip. I would like to know what would be the best way to detect when the user is "leaving" the Tab Control and...
0
by: Jason Kester | last post by:
Silliest question ever: Had the disaster scenario in VS.NET yesterday. Fired up the IDE, only to find that I could no longer un-tabbify sections of code by selecting them and SHIFT+TABbing. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...

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.