ON LEAVE OF FILL-IN-1 IN FRAME FRAME1
DO:
APPLY "LEAVE" TO FILL-IN-2.
END.
ON LEAVE OF FILL-IN-2 IN FRAME FRAME1
DO:
MESSAGE "LEAVE has been applied to this widget" VIEW-AS ALERT-BOX.
END.
DEFINE VARIABLE hWidget AS HANDLE NO-UNDO.
hWidget = FILL-IN-1:HANDLE IN FRAME FRAME1.
ON LEAVE OF hWidget PERSISTENT RUN xxx IN THIS-PROCEDURE.
h_widget = CURRENT-WINDOW.
hWin = SESSION:FIRST-CHILD.
How the external program is called - persistently or not?This external program is call when the window open, so when window open i need change the on leave of fill in 1 for call the fill in 2 leave.