home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL2005.txt
- // Copyright 1997 Claris
- // -----
- //------------------------------
- // FMRemoteAccess.txt
- //------------------------------
- #include "ObjEPref.txt"
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
- #define kLit1 "IP Address:"
- #define kLit2 "Enter the information below to connect to the computer that has the database:"
- #define kLit3 "User Name:"
- #define kLit4 "Password:"
- #define kLit201 "Specifies the IP address of the computer on which FileMaker is running."
- #define kLit202 "Specifies the User Name if the database is configured to use the 'Web Security Database'."
- #define kLit203 "Specifies the password for the FileMaker database."
- #define kLit204 "Enters the IP address of this computer."
- //Note: the file name will probably not change, but the name of the "Help" folder
- //probably will. Note that the translated name MUST be 8 chars or less.
- #define kHelpURL "Help/DocOpts.htm"
- #define kHelpTitle "&Help"
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
- #define kFMLabelWidth 81
- #if Platform_Mac
- //Height of the help view at the bottom of the window
- #define kHelpViewHeight 35
- #else
- //Height of the help view at the bottom of the window
- #define kHelpViewHeight 55
- #endif
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- //No further localizable data past this point
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- //--------------------------------------------
- // Displays the Help text
- //--------------------------------------------
- Define(HelpTextDisplay)
- #if Platform_Mac
- Margin(0,0,0,0, TabDialogBack)
- HelpView(Width = UseParent, Height = kHelpViewHeight, kPlainFont);
- #else
- //Margin(2,2,2,2, Single) jeh7/97 - removed this border around help, to match spec.
- Margin(0,0,0,0, TabDialogBack)
- HelpView(Width = UseParent, Height = kHelpViewHeight, kPlainFont, stdBackColor);
- #endif
-
-
- Margin(20, 20, 20, 20, TabDialogBack)
- VList()
- {
- Spacer(Height = 0, Width = 325);
- StaticText( kLit2, UseParWidth, kStaticFont, Alignment = Left);
- Spacer(Height = 15, Width = 0);
- HList(UseParWidth)
- {
- VList(UseParWidth)
- {
- EditText(ipAddress, Label = kLit1, LabelAlignment = Right, LabelWidth = kFMLabelWidth,
- BackWhite, NoSmartQuotes, NoSmartEdits, kStdLabelFont, kPlainFont, EH kLit201);
- StdVSpace;
- EditText(userName, Label = kLit3, LabelAlignment = Right, LabelWidth = kFMLabelWidth, StdLabel,
- BackWhite, NoSmartQuotes, NoSmartEdits, kStdLabelFont, kPlainFont, EH kLit202);
- StdVSpace;
- EditText(userPass, Label = kLit4, LabelAlignment = Right, LabelWidth = kFMLabelWidth, StdLabel,
- BackWhite, NoSmartQuotes, NoSmartEdits, kStdLabelFont, kPlainFont, EH kLit203,
- DisplayAsBullets);
- StdVSpace;
- }
- Spacer(Height = 0, Width = 10);
- PushButton("This Computer", 4000, "none", kButtonFont, EH kLit204);
- }
- Spacer(Height = 5);
- Call (HelpTextDisplay);
- StandardDialogButtonsH;
-
- }
-