
Good morning everyone
I'm new here, and I have a problem, when using a DCL and clicking [Done...], this button Loads the '#Quadrados_Filas' function, when it finds a command in the code lines (vl-cmdf "xxx") the routine automatically returns to the dialog box (DCL ).
The fact is that she is interrupted, returning to the DCL
I don't understand why this happens, I would like some help.
I made a video showing when the command "QF" is used it works perfectly, but when used in DCL "OQF", it goes back to the DCL.

I'm waiting for help, thank you
QF = Keyboard command
OQF = OpenDCL Command
.Both run the same function (#Quadrados_filas), but when used the OQF is interrupted.