home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / wizards / Wzweb / wzweb.h < prev    next >
Encoding:
Text File  |  1998-05-01  |  6.0 KB  |  168 lines

  1. *- WZWEB.H
  2. *- header file for the sample web publishing wizard
  3. *- 
  4. *- #defines which need to be localized end with "_LOC"
  5. *-
  6.  
  7. *- some standard #defines
  8. #DEFINE    C_CR            CHR(13)            && return
  9. #DEFINE    C_LF            CHR(10)            && linefeed
  10. #DEFINE    C_CRLF            CHR(13)+CHR(10)    && linefeed
  11. #DEFINE C_TAB            CHR(9)            && tab
  12.  
  13. *- step descriptions that appear in the wizard popup
  14. *- define one for each page/step in the Wizard
  15. #define STEP1_LOC    "Step 1 - Select Fields"
  16. #define STEP2_LOC    "Step 2 - Sort Records"
  17. #define STEP3_LOC    "Step 3 - Choose Style"
  18. #define STEP4_LOC    "Step 4 - Finish"
  19.  
  20.  
  21.  
  22. *- text descriptions that appear on each page of the wizard
  23. *- define one for each page/step in the Wizard
  24. #define DESC1_LOC    'Which fields do you want to use on your web page?' + C_CR + C_CR + ;
  25.                     'Select a database or Free Tables, select a table or view, and then select the fields you want.'
  26.  
  27. #DEFINE DESC2_LOC    "How do you want to sort your records?" + C_CR + C_CR + ;
  28.                     "Select up to three fields or select one index tag to sort the records by."
  29.  
  30. #DEFINE DESC3_LOC    "Which layout and styles do you want for your web page?" + C_CR + C_CR + ;
  31.                     "Double-click on a layout to view more details. Right-click on the Styles list box to change generation order of styles. "+;
  32.                     "Click the Preview button to view a subset of your data in the web browser."
  33.                     
  34. #DEFINE DESC4_LOC    ""                && empty--finish screen
  35.  
  36.  
  37. *- Data types
  38. #DEFINE DT_INTEGER     'I'
  39. #DEFINE DT_NUM       'N'
  40. #DEFINE DT_FLOAT     'F'
  41. #DEFINE DT_LOGIC     'L'
  42. #IFNDEF DT_MEMO
  43.     #DEFINE DT_MEMO  'M'
  44. #ENDIF
  45. #DEFINE DT_GEN       'G'
  46. #DEFINE DT_CHAR      'C'
  47. #DEFINE DT_DATE      'D'
  48. #DEFINE DT_DATETIME    'T'
  49. #DEFINE DT_CURRENCY    'Y'
  50. #DEFINE DT_DOUBLE    'B'
  51.  
  52. *- Screen BMP files
  53. *- define one for each page/step in the Wizard
  54. #define BMPFILE1    "opentabl.bmp"
  55. #define BMPFILE2    "newsort.bmp"
  56. #define BMPFILE3    "listview.bmp"
  57. #define BMPFILE4    ""                    && empty -- finish screen
  58.  
  59. *- Context sensitive Help IDs
  60. #define FORM_HELP_ID1        1895828901
  61. #define FORM_HELP_ID2        1895828902
  62. #define FORM_HELP_ID3        1895828903
  63. #define FORM_HELP_ID4        1895828904
  64.  
  65. * Colors
  66. #DEFINE DEFCOLOR    "Default"
  67. #DEFINE BLACK    "Black"
  68. #DEFINE MAROOM    "Maroon"
  69. #DEFINE GREEN    "Green"
  70. #DEFINE OLIVE    "Olive"
  71. #DEFINE NAVY    "Navy"
  72. #DEFINE PURPLE    "Purple"
  73. #DEFINE TEAL    "Teal"
  74. #DEFINE GRAY    "Gray"
  75. #DEFINE SILVER    "Silver"
  76. #DEFINE RED        "Red"
  77. #DEFINE LIME    "Lime"
  78. #DEFINE YELLOW    "Yellow"
  79. #DEFINE BLUE    "Blue"
  80. #DEFINE FUCHSIA    "Fuchsia"
  81. #DEFINE AQUA    "Aqua"
  82. #DEFINE WHITE    "White"
  83.  
  84. * Used for localization.
  85. #DEFINE DEFCOLOR_LOC    "Default"
  86. #DEFINE BLACK_LOC    "Black"
  87. #DEFINE MAROOM_LOC    "Maroon"
  88. #DEFINE GREEN_LOC    "Green"
  89. #DEFINE OLIVE_LOC    "Olive"
  90. #DEFINE NAVY_LOC    "Navy"
  91. #DEFINE PURPLE_LOC    "Purple"
  92. #DEFINE TEAL_LOC    "Teal"
  93. #DEFINE GRAY_LOC    "Gray"
  94. #DEFINE SILVER_LOC    "Silver"
  95. #DEFINE RED_LOC        "Red"
  96. #DEFINE LIME_LOC    "Lime"
  97. #DEFINE YELLOW_LOC    "Yellow"
  98. #DEFINE BLUE_LOC    "Blue"
  99. #DEFINE FUCHSIA_LOC    "Fuchsia"
  100. #DEFINE AQUA_LOC    "Aqua"
  101. #DEFINE WHITE_LOC    "White"
  102.  
  103. *- other strings, put here to simplify localization
  104. #DEFINE GENHTML_LOC        ["This HTML Page was generated by the Visual Foxpro HTML Wizard"]
  105. #DEFINE GENDATE_LOC        "This page was generated on "
  106. #DEFINE C_NOBROWSER_LOC    "Unable to start browser. This wizard requires that " + ;
  107.                         "Microsoft Internet Explorer 4.0 or greater be installed on this machine."
  108. #DEFINE C_PREVIEW_LOC    "A subset of your data will be displayed in Preview mode."
  109.  
  110. #DEFINE OS_WIN32S            1
  111. #DEFINE SAVEAS_LOC            "Save as:"
  112. #DEFINE C_DBCEXCL_LOC        "The DBC containing the selected table was previously opened non-exclusively and "+;
  113.     "the field(s) you chose for sorting are not in an existing index tag. "+;
  114.     "Please select field(s) which already have an existing index tag or exit the wizard and reopen the DBC exclusively."
  115.  
  116.                         
  117. #DEFINE    C_YES_LOC        "Yes"
  118. #DEFINE C_NO_LOC        "No"
  119.  
  120. #DEFINE I_SHOW_MODAL        1
  121. #DEFINE I_SHOW_MODELESS        2
  122.  
  123. #DEFINE TYPE_PREFS    "PREFS"
  124. #DEFINE TYPE_WIZARD    "WIZARD"
  125.  
  126. #DEFINE SCRIPTHEADER_LOC    "* -- Generated Web Wizard Script File -- "+C_CRLF+;
  127.                             "*"+C_CRLF+;
  128.                             "* A unique record has been created in GENHTML.DBF with your settings."+C_CRLF+;
  129.                             "* This record can be referenced by the ID specified in the "+C_CRLF+;
  130.                             "* DO (GENHTML) command below."+C_CRLF+C_CRLF
  131.  
  132. * Error messages
  133. #DEFINE ERR_NOGENHTML_LOC    "The GENHTML processor file could not be found. Make sure the HTML Generator variable (_GENHTML) in your Options dialog is pointing to a valid program (GENHTML.PRG)."
  134. #DEFINE ERR_NOGENDBF_LOC    "The GENHTML styles table (GENHTML.DBF) could not be found. Please run _GENHTML once to recreate it."
  135. #DEFINE    ERR_NOOPENGENDBF_LOC "Could not open the styles table (GENHTML.DBF). Make sure it is not opened exclusively."
  136. #DEFINE NOORDERSTYLES_LOC    "There are no styles selected to order."
  137.  
  138. #DEFINE GETFILE_VCXPROMPT_LOC     "Class Libraries:vcx,prg"
  139. #DEFINE LOCATEVCX_LOC            "Locate Class Library: "
  140. #DEFINE ERR_LAYOUTOPTIONS_LOC    "An error occurred in setting an attribute of layout: "
  141. #DEFINE ERR_NOOPTIONSCLASS_LOC    "No options are available for this layout."
  142.  
  143. * CustForm items
  144. #DEFINE    LSTTAGS_DELIM1                ": "
  145. #DEFINE LSTTAGS_DELIM2                "..."
  146. #DEFINE GETFILE_GRAPHICSPROMPT_LOC    "Images:JPG,GIF"
  147. #DEFINE REMOVE_TAGITEM_LOC            "Are you sure you want to remove this tag item?"
  148.  
  149. * ItemsForm items
  150. #DEFINE GETFILE_HTMLPROMPT_LOC        "HTML:HTM,ASP"
  151. #DEFINE FRAME1_LOC    "Main/Frame1"
  152. #DEFINE FRAME2_LOC    "Frame2"
  153. #DEFINE FRAME3_LOC    "Frame3"
  154. #DEFINE FRAME4_LOC    "Frame4"
  155. #DEFINE FRAME5_LOC    "Frame5"
  156.  
  157.  
  158. * LoadSettings/SaveSettings items
  159. #DEFINE NOSTYLEFILE_LOC                "Style file is not available to save/load settings."
  160. #DEFINE REMOVE_SETTING_LOC            "Are you sure you want to remove this setting?"
  161. #DEFINE NOSETTINGSAVAILABLE_LOC        "There are no settings available to load."
  162. #DEFINE SETTINGEXISTS_LOC            "A setting of that name already exists, would you like to overwrite it?"
  163. #DEFINE NOSETTINGSVALUE_LOC            "Please enter a name for your settings."
  164.  
  165.                     
  166. #DEFINE NODESCRIPT_LOC                "No description available."
  167. #DEFINE DESCFORM_CAPTION_LOC        "Description - "
  168.