>>>>How does one send the focus to a browse window in a program?
>>>
>>>Jason,
>>>
>>>When I combine GETs and BROWSE, I usally do a BROWSE ... NOWAIT TITLE (Browse window title) to initialize the BROWSE window. The line of code that will activate the BROWSE window would be:
>>>ACTIVATE WINDOW (Browse window title)
>>
>Hi. I still do work in FPW2.6 too. Getting these combo
>screens with read and browse to work take the most time for
>me. What I tend to do is the same as was suggested, in terms
>of first placing the browse screen on the read screen by
>issuing a browse nowait... before the read happens. About
>the switching focus, I place code in the valid events of the
>fields before and after the browse window that would be traversed
>to get to the browse that effectivly reissue the browse statement
>- this time without the NOWAIT clause. When the browse is exited,
>to move to either the next or previous field, I again reissue
>the first browse statement with the NOWAIT clause. Very clumsy,
>but it works for me and my users.
>Hope it helps.
>
>-John
I don't know, that doesn't seem to work for me... I'm probably doing something wrong, so I guess I'll play around with it some more. It doesn't make sense though why BROWSE window doesn't want the focus. FoxPro is stuborn.