> In the case of an input box embedded in an html page, it only means > returning to the same large document window, but not to the same > input box.
To which I should add: Sometimes you will be lucky and returning to the browser, after focussing elsewhere, you will find the flashing cursor is still in the same input. That is not thanks to setfocus. The same would happen if you returned to the browser using Windows TaskBar or a PP active button or any other method such as recording the parent handle and using window.show(parenthandle). On other occasions, when you return to the browser, the cursor is no longer where you left it. For those pages, it makes no difference whether you saved the child handle or the parent handle or getfocus/setfocus; none of them can work. The difference between being able / not able to return to the same input in a web page, with the cursor flashing in the same place, does not depend on which PP routine is used. It probably depends on the type of code in the webpage, such as html or php or java script. The only thing which works for sure is something which requires intervention by a human user: press a hotkey before clicking away from the browser application, such as on a PowerPro bar. The hotkey should save xcursor ycursor (if we are trying to restore focus to an input). Restoring requires a simulated mouse move and left click. ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
