473,378 Members | 1,439 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,378 software developers and data experts.

ToolStripTextBox focus problem

I cannot set focus on a ToolStripTextBox of my tool bar.

I've tried the following:

myToolBar.Select();
myTextBox.Focus();

The edit cursor doesn't appear on the text box... strange!!!...

Junior...

Apr 6 '06 #1
3 4581
Hi, I still haven't found any solution to this case.
If anybody knows the solution to this problem, i would appreciate.

Thanks anyway.

Junior.

Apr 11 '06 #2
http://msdn2.microsoft.com/en-us/lib...rs(VS.80).aspx

or more specifically..

It also may have something to do with the class "ToolStripControlHost"
- take a look in that direction.

Apr 11 '06 #3
It doesn't work anyway. I've tried a lot of commands...
The buttons in the tool bar can be selected, without any problem.
But the text box don't... (the property CanSelect of the text box is
always false...)

Is there some way to perform a Windows message in the tool bar???
(... like send a message to it to perform a Tab key press...)

Regards...

Junior

Apr 12 '06 #4

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

Similar topics

2
by: Peter Wright | last post by:
Hi all. Hopefully this should demonstrate the problem I'm having: http://flooble.net/~pete/focus-problem-demo/ (I'm testing it in Mozilla only, but I'm not sure if it's actually a...
4
by: Brian Keating | last post by:
hi there, does anyone know how to prevent the context menu on a ToolStripText box from appearing? when i right click on the toolstriptextbox i get presented with the system undo ------ cut...
4
by: SJ | last post by:
Hi all, I have come across a weird problem when attempting to automatically set the focus in a vb.net form to a checkbox control... In my form I have (on a tab page in a tab control) several...
11
by: Alex.Svetos | last post by:
Hello, I'm trying to get a popup to keep focus when it is re-clicked. The script below is supposed to produce this exact behaviour, however it doesn't work, at least on firefox 1.0.7 and moz...
0
by: Gianmaria Iaculo - NVENTA | last post by:
Hi, i need a custom toolstriptextbox... something that is similar to the standard one but witha button on the right. I want to bypass the user "ENTER" and let him press a button with something...
1
by: =?Utf-8?B?bWZt?= | last post by:
Upon the load of my form, I would like the cursor to be in a textbox within a toolstrip. Does anyone know if this is possibe? I've tried putting the following code in both the Form_Activate and...
0
by: mcurros | last post by:
Too late but it may be of some help to others... me.ActiveControl=me.ToolStripTextBox.Control Cheers! Mariano
4
by: Lloyd Sheen | last post by:
I just want to select the complete text when someone enters the textbox (mouse click etc.). When I am executing within the IDE (VS 2005 Pro) no problem. Execute outside the IDE and no select...
2
by: Lloyd Sheen | last post by:
I am just trying to get the event when a user clicks into the ToolStripTextBox to allow me to select all the text. I got an answer to handle the click event as an enter. Well if I do that then I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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?

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.