Kbase P9416: How to give focus to a different window that already exists
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
GOAL:
How to give focus to a different window that already exists
FIX:
To give focus to a different window which already exists on the screen do the following:
- In the window that will become the active window, create an internal procedure called which contains the following code:
APPLY 'ENTRY':U TO <SomeWidgetOnTheWindow>.
- In the window that is going to give focus to the other (existing) window put the following code:
RUN <InternalProcedureName> IN <HandleToWindowThatWillBeSwitchedTo>.