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

  1. // -----
  2. // VDL2008.txt
  3. // Copyright 1997 Claris
  4. // -----
  5.  
  6. //FtpDownloadConfirmReplace.txt
  7.  
  8. #include "StdVPref.txt"
  9.  
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11.  
  12. #define kYesButtonText         "&Yes"
  13. #define kNoButtonText         "&No"
  14. #define kYesAllBottonText    "Yes to &All"
  15. #define kCancelBottonText    "Cancel"
  16.  
  17. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  18.  
  19.  
  20.  
  21. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  22.  
  23. #if Platform_Mac
  24. #define kYesButtonWidth     70
  25. #define kNoButtonWidth         70
  26. #define kYesAllBottonWidth     70
  27. #define kCancelBottonWidth    70
  28. #else
  29. #define kYesButtonWidth     80
  30. #define kNoButtonWidth         80
  31. #define kYesAllBottonWidth     80
  32. #define kCancelBottonWidth    80
  33. #endif
  34.  
  35.  
  36. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  37.  
  38.  
  39. //No further localizable data past this point
  40.  
  41. /************************** END LOCALIZABLE DATA ***************************************************/
  42. #ifndef FOR_FOLDER_DOWNLOAD
  43. #define FOR_FOLDER_DOWNLOAD 0
  44. #endif
  45.  
  46.  
  47. Margin(10, 10, 10, 10, stdBackColor)
  48.     VList()
  49.         {
  50.         HList()
  51.             {
  52.             #if Platform_Mac
  53.             ICON(2);
  54.             #endif
  55.             
  56.             Spacer(Width = 10);
  57.             StaticText(alertMsg, Width = 350);
  58.             //StaticText("File xyz exists already. Do you want to replace it?", Width = 350, BackColor = White);
  59.             }
  60.             
  61.         Spacer(Height = 10);
  62.         HList(Width = UseParent)
  63.             {
  64.             Spacer(Width = UseParent, Height = 0);
  65.             
  66.             #if Platform_Mac                
  67.                 CancelButton(kCancelBottonText, 1070, "None", Width = kCancelBottonWidth);
  68.                 Spacer(Width = 10, Height = 0);            
  69.  
  70.                 VList()
  71.                 {
  72.                     Spacer(Width = 0, Height = 4);
  73.                     PushButton(kNoButtonText, 4000, "noReplace", Width = kNoButtonWidth);
  74.                 }
  75.                 Spacer(Width = 10, Height = 0);            
  76.                 
  77.                 #if FOR_FOLDER_DOWNLOAD
  78.                 VList()
  79.                 {
  80.                     Spacer(Width = 0, Height = 4);
  81.                     PushButton(kYesAllBottonText, 4000, "yesAllReplace", Width = kYesAllBottonWidth);
  82.                 }
  83.                 Spacer(Width = 10, Height = 0);    
  84.                 #endif        
  85.  
  86.                 DefaultButton(kYesButtonText, 4000, "yesReplace", Width = kYesButtonWidth);
  87.             #else
  88.                 DefaultButton(kYesButtonText, 4000, "yesReplace", Width = kYesButtonWidth);
  89.                 Spacer(Width = 10, Height = 0);
  90.                 
  91.                 #if FOR_FOLDER_DOWNLOAD
  92.                 VList()
  93.                 {
  94.                     //Spacer(Width = 0, Height = 4);
  95.                     PushButton(kYesAllBottonText, 4000, "yesAllReplace", Width = kYesAllBottonWidth);
  96.                 }
  97.                 Spacer(Width = 10, Height = 0);    
  98.                 #endif        
  99.  
  100.                 VList()
  101.                 {
  102.                     //Spacer(Width = 0, Height = 4);
  103.                     PushButton(kNoButtonText, 4000, "noReplace", Width = kNoButtonWidth);
  104.                 }
  105.                 Spacer(Width = 10, Height = 0);            
  106.  
  107.                 CancelButton(kCancelBottonText, 1070, "None", Width = kNoButtonWidth);
  108.             #endif
  109.             
  110.             }
  111.         }