From: Andy T. <an...@cr...> - 2001-08-26 11:25:52
|
I can't seem to find a reference to this anywhere, but am willing to have my ignorance admonished. Anyway, I'm trying to set the application focus in response to an event. In particular, when the user presses a button in my application I would like to lead them by the hand and place the cursor in another widget. For future use I'm thinking we would want to be able to change the application focus between different windows, regions, etc. If this is easy to do then feel free to send me a one line reply, alternatively I can raise this as a project issue at SF. I just thought I would share my question with the list before taking that step. Whilst I'm at it, we may want another attribute for each widget that indicates its tab order. It is sometimes useful to vary the navigation path between fields depending on various rules. Also, it may be necessary to specify widgets in a certain order in the resource file but have the default tab order through them to be different. I know this is all irrelevant if you use the mouse to navigate to a specific widget, but in the kind of applications which I sometimes write (data entry for databases) where speed of input is optimum the default user behaviour is to use the tab key to navigate between elements so that you don't have to take your hand away from the keyboard at any time. Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Shave my poodle!" |