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

  1. // -----
  2. // VDL162.txt
  3. // Copyright 1997 Claris
  4. // -----
  5.  
  6. #include "StdVPref.txt"
  7.  
  8. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  9.  
  10. #define kSaveButtonText     "Save"
  11. #define kCancelButtonText     "Cancel"
  12.  
  13. #define kRecommendText        "1. Limit the length of a filename to 27 characters, followed by a\r" \
  14.                                     "period and a 3 letter extension.\r" \
  15.                                     "2. Use all lowercase characters.\r" \
  16.                                     "3. Avoid using spaces (Use_an_underscore_instead.)\r" \
  17.                                     "4. Avoid using a period as the first character.\r" \
  18.                                     "5. Avoid using a tilde (~) as the first character.\r" \
  19.                                     "6. Avoid using upper ASCII or special characters."
  20.  
  21.  
  22. //Localized Fonts 
  23. #if Platform_Mac
  24.     #define kLargeTextFont            SystemFont
  25.     #define kSmallTextFont             {Geneva, 10,     {Plain}}    
  26. #else
  27.     #define kLargeTextFont            SystemFont
  28.     #define kSmallTextFont            SystemFont
  29. #endif
  30.  
  31. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  32.  
  33.  
  34.  
  35. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  36.  
  37. #if Platform_Mac
  38. #define kSaveButtonWidth     70
  39. #define kCancelButtonWidth 70
  40.  
  41. #else
  42. #define kSaveButtonWidth     100
  43. #define kCancelButtonWidth 100
  44. #endif
  45.  
  46.  
  47. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  48.  
  49.  
  50. //No further localizable data past this point
  51.  
  52. /************************** END LOCALIZABLE DATA ***************************************************/
  53.  
  54.  
  55.  
  56. Margin(10, 10, 10, 10, BackColor = Dialog)
  57.     VList()
  58.         {
  59.         HList()
  60.             {
  61.             #if Platform_Mac
  62.             cicn(2);
  63.             #endif
  64.             
  65.             Spacer(Width = 10);
  66.             VList()
  67.                 {
  68.                 StaticText(errorMessage, Width = 350, Font = kLargeTextFont);
  69.                 Spacer(Height = 10);
  70.                 StaticText(kRecommendText, Width = 350, Font = kSmallTextFont);
  71.                 }
  72.             }
  73.             
  74.         Spacer(Height = 10);
  75.         HList(Width = UseParent)
  76.             {
  77.             Spacer(Width = UseParent, Height = 0);
  78.  
  79. #if Platform_Mac
  80.             CancelButton(kCancelButtonText, 1070, "None", Width = kCancelButtonWidth);
  81.             Spacer(Width = 10, Height = 0);
  82.             DefaultButton(kSaveButtonText, 1071, "None", Width = kSaveButtonWidth);
  83. #else
  84.             DefaultButton(kSaveButtonText, 1071, "None", Width = kSaveButtonWidth);
  85.             Spacer(Width = 10, Height = 0);                
  86.             CancelButton(kCancelButtonText, 1070, "None", Width = kCancelButtonWidth);
  87. #endif
  88.             }
  89.         }