This is possible indirectly, if you call it that..
1.Accept the commands in a Memo/Edit type variable OR
2.read from a tables Memo field OR
3.read it from FILETOSTR(myCmdFile) or
whatever your imagination..
Now let us say..
The ThisForm.myCommandVar string hold your command lines..
Your Deactivate or Destroy Event should have the code..
LOCAL nLines
nLines = ALINES(laCmd,ThisForm.myCommandVar)
IF nLines > 0
FOR I = 1 to nLines
&laCmd(i)
ENDFOR
ENDIF
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.