Disabling the template

Top  Previous  Next

Disable the whole template (design time):

If you check this option, no code at all will be generated from FinalStep.

This might be useful to determine if the template is provoking a problem in your program, without removing it and so loosing all your settings. Just enable this option, do your tests, and when ready, disable this option again.

 

clip0144

 

Run-time disable:

Here you can specify a variable so the template is executed or not, based on a user choice. This option do generates all the template code, but if the variable specified here has a TRUE value, the executable part of the template code is not executed, as if the template were not there.

 

 

clip0145

 

This might be useful to determine if there is a speed or execution problem in your users PC, without change your program.

Note: If you change the value of this variable at run-time, it will take effect the next time the FinalStep procedures are called. If you have several windows opened, you will see no immediate effect on them unless you refresh the window.