home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL2008.txt
- // Copyright 1997 Claris
- // -----
-
- //FtpDownloadConfirmReplace.txt
-
- #include "StdVPref.txt"
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- #define kYesButtonText "&Yes"
- #define kNoButtonText "&No"
- #define kYesAllBottonText "Yes to &All"
- #define kCancelBottonText "Cancel"
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- #if Platform_Mac
- #define kYesButtonWidth 70
- #define kNoButtonWidth 70
- #define kYesAllBottonWidth 70
- #define kCancelBottonWidth 70
- #else
- #define kYesButtonWidth 80
- #define kNoButtonWidth 80
- #define kYesAllBottonWidth 80
- #define kCancelBottonWidth 80
- #endif
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- #ifndef FOR_FOLDER_DOWNLOAD
- #define FOR_FOLDER_DOWNLOAD 0
- #endif
-
-
- Margin(10, 10, 10, 10, stdBackColor)
- VList()
- {
- HList()
- {
- #if Platform_Mac
- ICON(2);
- #endif
-
- Spacer(Width = 10);
- StaticText(alertMsg, Width = 350);
- //StaticText("File xyz exists already. Do you want to replace it?", Width = 350, BackColor = White);
- }
-
- Spacer(Height = 10);
- HList(Width = UseParent)
- {
- Spacer(Width = UseParent, Height = 0);
-
- #if Platform_Mac
- CancelButton(kCancelBottonText, 1070, "None", Width = kCancelBottonWidth);
- Spacer(Width = 10, Height = 0);
-
- VList()
- {
- Spacer(Width = 0, Height = 4);
- PushButton(kNoButtonText, 4000, "noReplace", Width = kNoButtonWidth);
- }
- Spacer(Width = 10, Height = 0);
-
- #if FOR_FOLDER_DOWNLOAD
- VList()
- {
- Spacer(Width = 0, Height = 4);
- PushButton(kYesAllBottonText, 4000, "yesAllReplace", Width = kYesAllBottonWidth);
- }
- Spacer(Width = 10, Height = 0);
- #endif
-
- DefaultButton(kYesButtonText, 4000, "yesReplace", Width = kYesButtonWidth);
- #else
- DefaultButton(kYesButtonText, 4000, "yesReplace", Width = kYesButtonWidth);
- Spacer(Width = 10, Height = 0);
-
- #if FOR_FOLDER_DOWNLOAD
- VList()
- {
- //Spacer(Width = 0, Height = 4);
- PushButton(kYesAllBottonText, 4000, "yesAllReplace", Width = kYesAllBottonWidth);
- }
- Spacer(Width = 10, Height = 0);
- #endif
-
- VList()
- {
- //Spacer(Width = 0, Height = 4);
- PushButton(kNoButtonText, 4000, "noReplace", Width = kNoButtonWidth);
- }
- Spacer(Width = 10, Height = 0);
-
- CancelButton(kCancelBottonText, 1070, "None", Width = kNoButtonWidth);
- #endif
-
- }
- }