#TEMPLATE(ReportDesignerOnly,'Report Designer Project template')
#EXTENSION(ReportDesignerOnlyGlobal,'Report Designer Project global template'),APPLICATION
#!
#DISPLAY('This template is ONLY for use in the ARDZUP.APP!')
#DISPLAY('It sets the correct help file and the correct')
#DISPLAY('value for IsSetupProgram compile switch')
#DISPLAY('')
#BOXED('Help Language options')
  #PROMPT('Setup program',CHECK),%RptDesPrjSetupProgram
  #ENABLE(%RptDesPrjSetupProgram=%False)
    #PROMPT('Language',OPTION),%RptDesPrjLanguage
    #PROMPT('Danish',RADIO)
    #PROMPT('English',RADIO)
  #ENDENABLE
#ENDBOXED
#DISPLAY('')
#BOXED('Compile options')
   #PROMPT('Set to compile:',OPTION),%RptDesPrjCompileTarget
   #PROMPT('Setup program or DLL/LIB',RADIO)
   #PROMPT('Standalone designer',RADIO)
#ENDBOXED
#!---------------------------------------------------------------------
#!                        Program Setup embed  
#!---------------------------------------------------------------------
#AT(%ProgramSetup)
  #IF(%RptDesPrjSetupProgram)
 Help('ARDSETUP.HLP')
  #ELSE
    #IF(%RptDesPrjLanguage='Danish')
 Help('RPTDESDK.HLP')
    #ELSE
 Help('RPTDES.HLP')
    #ENDIF
  #ENDIF
#ENDAT
#!---------------------------------------------------------------------
#!                      After Global Includes embed
#!---------------------------------------------------------------------
#AT(%AfterGlobalIncludes)
!1=Setup-program or DLL/LIB  0=Standalone designer
#!  #IF(%RptDesPrjCompileTarget='Standalone designer')
#IF(~%RptDesPrjSetupProgram)
IsSetupProgram      EQUATE(0)
  #ELSE
IsSetupProgram      EQUATE(1)
  #ENDIF
#ENDAT
