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

  1. #include "ObjEPref.txt"
  2.         
  3. #define kLit1    "Cookie Name"
  4. #define kEncodingLabel    "Encoding"
  5. #define kEncoding1        "Raw - Don't perform any encoding"
  6. #define kEncoding2        "URL - Perform URL encoding"
  7. #define kLit2517 "Name must be fewer than 1024 characters and specified as 'field:fieldname' or a text constant."
  8. #define kLit2518 "Click so that no encoding scheme is used."
  9. #define kLit2519 "Encodes any character in the element that might be special if you don't want to use its special meaning in a URL."
  10.  
  11. Margin(10, 10, 10, 10, TabDialogBack)
  12. VList(UseParWidth)
  13. {
  14.     StaticText( kLit1, Width = UseParent, kStaticFont);
  15.     StdVSpace;
  16.     EditText(obj.cookiename, Label = "", LabelAlignment=Left, LabelWidth=0, kEditFont, UseParWidth, StdFlags, EH kLit2517);
  17.     StdVSpace;
  18.     StdVSpace;
  19.     Label(kEncodingLabel, Single, Height = 80, kStaticFont, UseParWidth)
  20.     HList()
  21.     {
  22.         StdHSpace;
  23.         VList()
  24.         {
  25.             WidowRadioButton(kEncoding1, obj.encoding, 0, Height = 30, kPlainFont, EH kLit2518);
  26.             WidowRadioButton(kEncoding2, obj.encoding, 1, Height = 30, kPlainFont, EH kLit2519);
  27.         }
  28.     }
  29. }