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

  1. // -----
  2. // VDL2011.txt
  3. // Copyright 1997 Claris
  4. // -----
  5.  
  6. // Prompt for new directory name
  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.  
  19. #define kLit1     " Please enter new directory name"
  20.  
  21.  
  22. //Localized Fonts
  23.  
  24. #if Platform_Mac
  25.     #define SmallFont  Font = {Geneva, 9, {Plain}}
  26. #endif
  27.  
  28.  
  29. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  30. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  31. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  32.  
  33.  
  34.  
  35. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  36. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  37. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  38.  
  39. //This section contains integer constants that are used to format this VDL program.
  40. //These are localizable - they only need to be changed if the localized strings 
  41. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  42.  
  43. //Basic width of the dialog. Layout will follow this width. Dialog height is 
  44. //computed from wrapped heights of the static text, and other components.
  45. #define kDialogWidth 240
  46.  
  47. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  48. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  49. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  50.  
  51. //No further localizable data past this point
  52.  
  53. /************************** END LOCALIZABLE DATA ***************************************************/
  54. /************************** END LOCALIZABLE DATA ***************************************************/
  55. /************************** END LOCALIZABLE DATA ***************************************************/
  56.  
  57.  
  58. Margin(10,10,10,10, BackColor =  Dialog, Width = kDialogWidth)
  59.     VList(Width = UseParent)
  60.         {
  61.         //StaticText(prompt, Width = UseParent);
  62.         
  63.         StaticText(
  64.                 kLit1,
  65.                 
  66.                 #if Platform_Mac
  67.                 SmallFont, 
  68.                 #endif
  69.                 
  70.                 Width = UseParent);
  71.         Spacer(Height = 6, Width = 0, ScaleV);
  72.         EditText(result, Width = UseParent, BackColor = {65535, 65535, 65535} );
  73.         Spacer(Height = 6, Width = 0, ScaleV);
  74.         
  75.         
  76.         Spacer(Height = 6, Width = 0, ScaleV);
  77.         StandardDialogButtonsH;        
  78.         } //VList
  79.