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

  1. #include "ObjEPref.txt"
  2.         
  3. #define kLit1    "Field Name:"
  4. #define kEncodingLabel    "Encoding"
  5. #define kEncoding1        "HTML - Perform HTML encoding"
  6. #define kEncoding2        "Break - HTML encoding/replace returns"
  7. #define kEncoding3        "URL - Perform URL encoding"
  8. #define kEncoding4        "Raw - Don't perform any encoding"
  9. #define kLit2556 "Specifies the field's name as defined in the FileMaker Pro file."
  10. #define kLit2557 "Encodes any character in the element that may be special if you don't want to use its special meaning in HTML."
  11. #define kLit2558 "Click to perform HTML encoding and replace soft returns with a <br> element (line break) tag."
  12. #define kLit2559 "Encodes any character in the element that might be special if you don't want to use its special meaning in a URL."
  13. #define kLit2560 "Click so that no encoding scheme is used."
  14.  
  15. Margin(10, 10, 10, 10, TabDialogBack)
  16. VList(UseParWidth)
  17. {
  18.     StaticText( kLit1, Width = UseParent, kStaticFont);
  19.     StdVSpace;
  20.     EditText(obj.fieldname, Label = "", LabelAlignment=Left, kEditFont, LabelWidth=0, UseParWidth, StdFlags, EH kLit2556);
  21.     StdVSpace;
  22.     StdVSpace;
  23.     Label(kEncodingLabel, Single, Height = 140, kStaticFont, UseParWidth)
  24.     HList()
  25.     {
  26.         StdHSpace;
  27.         VList()
  28.         {
  29.             WidowRadioButton(kEncoding1, obj.encoding, 0, Height = 30, kPlainFont, EH kLit2557);
  30.             WidowRadioButton(kEncoding2, obj.encoding, 1, Height = 30, kPlainFont, EH kLit2558);
  31.             WidowRadioButton(kEncoding3, obj.encoding, 2, Height = 30, kPlainFont, EH kLit2559);    
  32.             WidowRadioButton(kEncoding4, obj.encoding, 3, Height = 30, kPlainFont, EH kLit2560);    
  33.         }
  34.     }
  35. }