This is the Personal Stock Monitor scripting developers forum.
Subscribe to RSS Feed
Developing Custom Stock Market Software using PSM -> How To Set Focus On Entry Box?
Not logged in.
2010-11-26 22:41:12
1 of 4
#2571
How do I set input focus to a specific entry field in a wndBrowser?

When my wndBrowser is displayed, the tab keys don't do anything at all. I am forced to position the mouse cursor to and click in the field I want to edit.

When the wndBrowser form is displayed, I would like the input focus to be set to the first entry field in the form, so I can just start typing.

Thank you,

-Don
Posted by: dgoyette
2010-11-27 16:02:47
2 of 4
#2581
in reply to #2571
Sorry, no way to do that right now. There should be though. The problem is that it's a hosted browser window, so our control over it is a little bit limited. I'll have to look into it.
Posted by: Anatoly
2010-11-27 20:34:30
3 of 4
#2590
in reply to #2581
It certainly does behave strangely without tab control, until a field is clicked with the mouse pointer.

So, it doesn't matter how the form is coded then -- ie. as a pre-defined resource or using just plain in-line HTML code? Your article section has two examples, one of each (resource, in-line).
Posted by: dgoyette
2010-11-30 21:10:05
4 of 4
#2608
in reply to #2590
Nope, you can code it either way. Whatever works for your purpose is just fine.
Posted by: Anatoly