|
|
||||||
|
#1
|
|
|
|
|
Hiho NG,
I've created a tool (tray application) like "keytext" or "shortcut" that is a little tool where you can store text components which you can call from any running app. Such a stored text will then be written on any focused text control. So far, so good. It works quite well. The tool is firstly hidden and can be called by hotkey (F11). A list of stored text components appears and the user can select one (or add new or change, delete etc.). After a text component has been selected and the user clicks 'OK' my tool is minimized and hidden again so the current focus returns to the app the user has worked on before. But my tool assumes that the focus is automatically given back to the former focussed text control. This works with "normal" editors / text programs and almost all of the textboxes for web apps - emphasis on 'almost'. It works NOT on web controls in chats e. g. (I guess the focus is there firstly returned to the web side or browser and not to the former focussed text control). So the better way seems to be not to rely on 'system automatics refocussing' ;). But the problem will probably be that the focus has already been changed after my tool is called by hotkey. So how to find out which text control has had the focus before? yours Peter |
|
|
|
#2
|
|
|
|
|
Any suggestions?
|
|
|
| Similar Threads | |
| VB6: Text in Masked Edit Control temporarily disappeared when the control lost the focus Hi, I need some help. I am using Masked Edit Control and trying to set up a format (to accept only numeric entry). I am using VB6 When I enter all numbers in the Masked... |
|
| How do I highlight the label for a text box control with focus? I am creating a questionairre and the label contains the question that the interviewer needs to ask and the associated text box is where they type the answer. Is there an... |
|
| How to extend edit control context menu system-wide? I have written a small dictionary application. How do I add a system-wide context menu entry (say, "Lookup selection") to all edit control instances and subclasses, not only... |
|
| What is the off focus method for an input text control ? Hi, I have a form with a begin and an end date. Once the user has entered the begin date I want to set the end date. I don't need help writing the code, I just need... |
|
| Setting at run time the focus on a certain control (text box) When I open a web form with VB7 .NET I wish to determine a certain imput box at run time. How can I set the focus to this text box, so that immediately when the user enters a... |
|
|
All times are GMT. The time now is 11:05 PM. | Privacy Policy
|