viewpoint-particle

Author Topic: Can disable dialog, but not re-enable  (Read 1653 times)

stevengraff

  • Sr. Member
  • ****
  • Posts: 271
Can disable dialog, but not re-enable
« 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?




Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Can disable dialog, but not re-enable
« Reply #1 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.
Deana F.
Technical Support
Wilson WindowWare Inc.