home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1999 March / CDW0399.iso / Demos / HomePage / data1.cab / Program_Executable_Files / Homepage.exe / 1009 / 168 < prev    next >
Encoding:
Text File  |  1997-12-10  |  3.5 KB  |  86 lines

  1. // -----
  2. // VDL168.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. // Prompt for document title
  7.  
  8. #include "StdVPref.txt"
  9.  
  10.  
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  14.  
  15. //This section contains all localizable string constants for this VDL program. Be sure to 
  16. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  17. //You may also flatten multiline constants into a single line, if you prefer
  18. #if Platform_Mac
  19. #define kLit1     " Most browsers will display this title at the top of the window"\
  20.                     " when viewing the page.  You can change the title later, by"\
  21.                     " selecting Document Options from the Edit menu."
  22. #else
  23. #define kLit1     " Most browsers will display this title at the top of the window"\
  24.                     " when viewing the page.  You can change the title later, by"\
  25.                     " selecting Document Options from the Tools menu."
  26. #endif
  27.  
  28.  
  29. //Localized Fonts
  30.  
  31. #if Platform_Mac
  32.     #define SmallFont  Font = {Geneva, 9, {Plain}}
  33. #endif
  34.  
  35.  
  36. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  37. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  38. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  39.  
  40.  
  41.  
  42. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  43. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  44. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  45.  
  46. //This section contains integer constants that are used to format this VDL program.
  47. //These are localizable - they only need to be changed if the localized strings 
  48. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  49.  
  50. //Basic width of the dialog. Layout will follow this width. Dialog height is 
  51. //computed from wrapped heights of the static text, and other components.
  52. #define kDialogWidth 420
  53.  
  54. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  55. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  56. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  57.  
  58. //No further localizable data past this point
  59.  
  60. /************************** END LOCALIZABLE DATA ***************************************************/
  61. /************************** END LOCALIZABLE DATA ***************************************************/
  62. /************************** END LOCALIZABLE DATA ***************************************************/
  63.  
  64.  
  65. Margin(10,10,10,10, BackColor =  Dialog, Width = kDialogWidth)
  66.     VList(Width = UseParent)
  67.         {
  68.         StaticText(prompt, Width = UseParent);
  69.         
  70.         Spacer(Height = 6, Width = 0, ScaleV);
  71.         EditText(result, Width = UseParent, BackColor = {65535, 65535, 65535} );
  72.         Spacer(Height = 6, Width = 0, ScaleV);
  73.         
  74.         StaticText(
  75.                 kLit1,
  76.                 
  77.                 #if Platform_Mac
  78.                 SmallFont, 
  79.                 #endif
  80.                 
  81.                 Width = UseParent, Alignment = Center );
  82.         
  83.         Spacer(Height = 6, Width = 0, ScaleV);
  84.         StandardDialogButtonsH;        
  85.         } //VList
  86.