wait-for exec modal handle


WAIT-FOR CLOSE (execute window and wait until it has finished)

Hi,

I'm work with Progress Openedge 10.1A.

To mimic a Modal call i'm run a persisten window and put sensitive = false the source window.

For example:

def var h_container as handle no-undo.
def var h_window as handle no-undo.

h_container = current-window.

h_container:sensitive = false.

run window.w persistent set h_window.
run inicializeObject.
wait-for close for h_window.

h_container:sensitive = true.


Syndicate content