home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL162.txt
- // Copyright 1997 Claris
- // -----
-
- #include "StdVPref.txt"
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- #define kSaveButtonText "Save"
- #define kCancelButtonText "Cancel"
-
- #define kRecommendText "1. Limit the length of a filename to 27 characters, followed by a\r" \
- "period and a 3 letter extension.\r" \
- "2. Use all lowercase characters.\r" \
- "3. Avoid using spaces (Use_an_underscore_instead.)\r" \
- "4. Avoid using a period as the first character.\r" \
- "5. Avoid using a tilde (~) as the first character.\r" \
- "6. Avoid using upper ASCII or special characters."
-
-
- //Localized Fonts
- #if Platform_Mac
- #define kLargeTextFont SystemFont
- #define kSmallTextFont {Geneva, 10, {Plain}}
- #else
- #define kLargeTextFont SystemFont
- #define kSmallTextFont SystemFont
- #endif
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- #if Platform_Mac
- #define kSaveButtonWidth 70
- #define kCancelButtonWidth 70
-
- #else
- #define kSaveButtonWidth 100
- #define kCancelButtonWidth 100
- #endif
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
-
-
-
- Margin(10, 10, 10, 10, BackColor = Dialog)
- VList()
- {
- HList()
- {
- #if Platform_Mac
- cicn(2);
- #endif
-
- Spacer(Width = 10);
- VList()
- {
- StaticText(errorMessage, Width = 350, Font = kLargeTextFont);
- Spacer(Height = 10);
- StaticText(kRecommendText, Width = 350, Font = kSmallTextFont);
- }
- }
-
- Spacer(Height = 10);
- HList(Width = UseParent)
- {
- Spacer(Width = UseParent, Height = 0);
-
- #if Platform_Mac
- CancelButton(kCancelButtonText, 1070, "None", Width = kCancelButtonWidth);
- Spacer(Width = 10, Height = 0);
- DefaultButton(kSaveButtonText, 1071, "None", Width = kSaveButtonWidth);
- #else
- DefaultButton(kSaveButtonText, 1071, "None", Width = kSaveButtonWidth);
- Spacer(Width = 10, Height = 0);
- CancelButton(kCancelButtonText, 1070, "None", Width = kCancelButtonWidth);
- #endif
- }
- }