I declared a GLOBAL value for debbuging in my windows
progam
GLOBAL alertvalue AS STRING
then defined a Callback function
CALLBACK FUNCTION Alert()
alertvalue="Hello"
END FUNCTION
and called the function from dialog button CALL.
Then in the "main loop" for my dialog (just after the
FUNCTION=action statement), I put the statements
IF alertvalue>"" THEN MSGBOX alertvalue:alertvalue=""
=====================================================
I never get a MSGBOX. Why isn't alertvalue being
set, and the MSGBOX showing its value?
Is there another smarter way to display values seen
inside CALLBACK functions?
progam
GLOBAL alertvalue AS STRING
then defined a Callback function
CALLBACK FUNCTION Alert()
alertvalue="Hello"
END FUNCTION
and called the function from dialog button CALL.
Then in the "main loop" for my dialog (just after the
FUNCTION=action statement), I put the statements
IF alertvalue>"" THEN MSGBOX alertvalue:alertvalue=""
=====================================================
I never get a MSGBOX. Why isn't alertvalue being
set, and the MSGBOX showing its value?
Is there another smarter way to display values seen
inside CALLBACK functions?
Comment