WinBatch Technical Support Forum

Archived Boards => WinBatch Dynamic Dialogs => Topic started by: stevengraff on March 11, 2014, 06:41:39 am

Title: Can disable dialog, but not re-enable
Post by: stevengraff on March 11, 2014, 06:41:39 am
When I use:

dialogProcOptions ( Schmandle, 1000, 2)

to disable my dialog... nothing seems capable of waking it back up. As a test I even tried the re-enable command in a subsequent statement like:

         dialogProcOptions ( Schmandle, 1000, 2)
         dialogProcOptions ( Schmandle, 1000, 0)

But once it's disabled, it seems to be completely dead, and I have to kill it with ctrl-Break.

This should work, right? Maybe I'm missing something about how to use it?



Title: Re: Can disable dialog, but not re-enable
Post by: Deana on March 11, 2014, 07:21:12 am
 dialogProcOptions ( Schmandle, 1000, 0) should enable the Dialog. I would need to see some code and possibly some debugtrace output, to confirm that line is getting executed.

Simply add DebugTrace(@on,"trace.txt") to the beginning of the script and inside any UDF, run it until you would have expected the dialog to become re-enabled, then inspect the resulting trace file for clues as to the problem.

Feel free to post the trace file here if you need further assistance.