Hello,
we have the following trigger in a "create menu-item" - statement.
This works (mostly).
But sometimes after I start the ProgName several times by the menu item nothing happens.
I don`t understand
"ON CHOOSE PERSISTENT RUN ProgStart IN THIS-PROCEDURE (ProgName)."
If I want to put the "CHOOSE-Trigger" in a DO-Block I get an error:
With the above code I get a common error...
ProgStart is a internal Procedure with this call:
"RUN VALUE(ProgName form above) NO-ERROR."
we have the following trigger in a "create menu-item" - statement.
Code:
CREATE MENU-ITEM menu-sub3[i3]
ASSIGN PARENT = menu-sub2[i2]
LABEL = sMenu3.beschr
TRIGGERS:
ON CHOOSE PERSISTENT RUN ProgStart IN THIS-PROCEDURE (ProgName).
END TRIGGERS.
But sometimes after I start the ProgName several times by the menu item nothing happens.
I don`t understand
"ON CHOOSE PERSISTENT RUN ProgStart IN THIS-PROCEDURE (ProgName)."
If I want to put the "CHOOSE-Trigger" in a DO-Block I get an error:
Code:
TRIGGERS:
ON CHOOSE DO:
PERSISTENT RUN ProgStart IN THIS-PROCEDURE (ProgName).
END.
END TRIGGERS.
ProgStart is a internal Procedure with this call:
"RUN VALUE(ProgName form above) NO-ERROR."