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

  1. // -----
  2. // VDL2005.txt
  3. // Copyright 1997 Claris
  4. // -----
  5. //------------------------------
  6. // FMRemoteAccess.txt
  7. //------------------------------
  8. #include "ObjEPref.txt"
  9.  
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13. //This section contains all localizable string constants for this VDL program. Be sure to 
  14. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  15. //You may also flatten multiline constants into a single line, if you prefer
  16. #define kLit1    "IP Address:"
  17. #define kLit2    "Enter the information below to connect to the computer that has the database:"
  18. #define kLit3  "User Name:"
  19. #define kLit4  "Password:"
  20. #define kLit201 "Specifies the IP address of the computer on which FileMaker is running."
  21. #define kLit202 "Specifies the User Name if the database is configured to use the 'Web Security Database'."
  22. #define kLit203 "Specifies the password for the FileMaker database."
  23. #define kLit204 "Enters the IP address of this computer."
  24. //Note: the file name will probably not change, but the name of the "Help" folder
  25. //probably will. Note that the translated name MUST be 8 chars or less.
  26. #define kHelpURL "Help/DocOpts.htm"
  27. #define kHelpTitle "&Help"
  28.  
  29. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  30. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  31. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  32. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  33. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  34. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  35. //This section contains integer constants that are used to format this VDL program.
  36. //These are localizable - they only need to be changed if the localized strings 
  37. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  38. #define kFMLabelWidth 81
  39. #if Platform_Mac
  40.     //Height of the help view at the bottom of the window
  41.     #define kHelpViewHeight 35
  42. #else
  43.     //Height of the help view at the bottom of the window
  44.     #define kHelpViewHeight 55
  45. #endif
  46. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  47. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  48. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  49. //No further localizable data past this point
  50. /************************** END LOCALIZABLE DATA ***************************************************/
  51. /************************** END LOCALIZABLE DATA ***************************************************/
  52. /************************** END LOCALIZABLE DATA ***************************************************/
  53. //--------------------------------------------
  54. //        Displays the Help text
  55. //--------------------------------------------
  56. Define(HelpTextDisplay)
  57.     #if Platform_Mac
  58.         Margin(0,0,0,0, TabDialogBack)
  59.             HelpView(Width = UseParent, Height = kHelpViewHeight, kPlainFont);
  60.     #else
  61.         //Margin(2,2,2,2, Single) jeh7/97 - removed this border around help, to match spec.
  62.         Margin(0,0,0,0, TabDialogBack)
  63.             HelpView(Width = UseParent, Height = kHelpViewHeight, kPlainFont, stdBackColor);
  64.     #endif
  65.  
  66.  
  67. Margin(20, 20, 20, 20, TabDialogBack)
  68. VList()
  69. {
  70.     Spacer(Height = 0, Width = 325);
  71.     StaticText( kLit2, UseParWidth, kStaticFont, Alignment = Left);
  72.     Spacer(Height = 15, Width = 0);
  73.     HList(UseParWidth)
  74.         {
  75.         VList(UseParWidth)
  76.             {
  77.             EditText(ipAddress, Label = kLit1, LabelAlignment = Right, LabelWidth = kFMLabelWidth, 
  78.                      BackWhite, NoSmartQuotes, NoSmartEdits, kStdLabelFont, kPlainFont, EH kLit201);
  79.             StdVSpace;
  80.             EditText(userName, Label = kLit3, LabelAlignment = Right, LabelWidth = kFMLabelWidth, StdLabel, 
  81.                      BackWhite, NoSmartQuotes, NoSmartEdits, kStdLabelFont, kPlainFont, EH kLit202);
  82.             StdVSpace;
  83.             EditText(userPass, Label = kLit4, LabelAlignment = Right, LabelWidth = kFMLabelWidth, StdLabel, 
  84.                      BackWhite, NoSmartQuotes, NoSmartEdits, kStdLabelFont, kPlainFont, EH kLit203,
  85.                      DisplayAsBullets);
  86.             StdVSpace;
  87.             }
  88.         Spacer(Height = 0, Width = 10);
  89.         PushButton("This Computer", 4000, "none", kButtonFont, EH kLit204);
  90.         }
  91.         Spacer(Height = 5);
  92.         Call (HelpTextDisplay);
  93.         StandardDialogButtonsH;
  94.         
  95. }
  96.