home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 53 / IOPROG_53.ISO / soft / c++ / xceedftp.exe / Samples / Delphi / MethodDemo / Main.dfm / Main.txt
Encoding:
Text File  |  2000-10-05  |  14.1 KB  |  585 lines

  1. object frmMain: TfrmMain
  2.   Left = 253
  3.   Top = 167
  4.   BorderIcons = [biSystemMenu, biMinimize]
  5.   BorderStyle = bsSingle
  6.   Caption = 'Method Demonstrator sample application'
  7.   ClientHeight = 422
  8.   ClientWidth = 623
  9.   Font.Charset = DEFAULT_CHARSET
  10.   Font.Color = clWindowText
  11.   Font.Height = -11
  12.   Font.Name = 'MS Sans Serif'
  13.   Font.Style = []
  14.   Position = poScreenCenter
  15.   OnCreate = FormCreate
  16.   PixelsPerInch = 96
  17.   TextHeight = 13
  18.   object Label1: TLabel
  19.     Left = 8
  20.     Top = 8
  21.     Width = 609
  22.     Height = 33
  23.     AutoSize = False
  24.     Caption = 
  25.       'Each tab below demonstrates a major Xceed FTP Library method. Th' +
  26.       'e tabs contain fields which represent properties associated with' +
  27.       ' each method. Obtain tips by moving the mouse over each field. T' +
  28.       'o execute the method, click on the buttons.'
  29.     WordWrap = True
  30.   end
  31.   object Label7: TLabel
  32.     Left = 376
  33.     Top = 48
  34.     Width = 89
  35.     Height = 17
  36.     AutoSize = False
  37.     Caption = 'Items listed:'
  38.   end
  39.   object Label8: TLabel
  40.     Left = 376
  41.     Top = 264
  42.     Width = 169
  43.     Height = 13
  44.     Caption = 'Log output, error codes and events:'
  45.   end
  46.   object tabExamples: TPageControl
  47.     Left = 8
  48.     Top = 48
  49.     Width = 361
  50.     Height = 345
  51.     ActivePage = shtConnect
  52.     TabOrder = 1
  53.     object shtConnect: TTabSheet
  54.       Caption = 'Connect/Disconnect'
  55.       object Label3: TLabel
  56.         Left = 8
  57.         Top = 80
  58.         Width = 81
  59.         Height = 17
  60.         AutoSize = False
  61.         Caption = 'ServerAddress:'
  62.       end
  63.       object Label4: TLabel
  64.         Left = 232
  65.         Top = 80
  66.         Width = 81
  67.         Height = 17
  68.         AutoSize = False
  69.         Caption = 'ServerPort:'
  70.       end
  71.       object Label5: TLabel
  72.         Left = 8
  73.         Top = 120
  74.         Width = 113
  75.         Height = 17
  76.         AutoSize = False
  77.         Caption = 'UserName:'
  78.       end
  79.       object Label6: TLabel
  80.         Left = 8
  81.         Top = 160
  82.         Width = 113
  83.         Height = 17
  84.         AutoSize = False
  85.         Caption = 'Password:'
  86.       end
  87.       object lblConnectionInfo: TLabel
  88.         Left = 8
  89.         Top = 224
  90.         Width = 337
  91.         Height = 16
  92.         Caption = 'Status: Not connected'
  93.         Font.Charset = DEFAULT_CHARSET
  94.         Font.Color = clBlue
  95.         Font.Height = -13
  96.         Font.Name = 'MS Sans Serif'
  97.         Font.Style = [fsBold]
  98.         ParentFont = False
  99.       end
  100.       object Label13: TLabel
  101.         Left = 8
  102.         Top = 8
  103.         Width = 329
  104.         Height = 52
  105.         Caption = 
  106.           'These methods allow you to connect and to disconnect from and FT' +
  107.           'P server. The information required to connect to the FTP server ' +
  108.           'is specified in the ServerAddress, ServerPort , UserName and Pas' +
  109.           'sword properties.'
  110.         WordWrap = True
  111.       end
  112.       object btConnect: TButton
  113.         Left = 272
  114.         Top = 248
  115.         Width = 75
  116.         Height = 25
  117.         Caption = 'Connect'
  118.         ParentShowHint = False
  119.         ShowHint = True
  120.         TabOrder = 4
  121.         OnClick = btConnectClick
  122.       end
  123.       object txtUsername: TEdit
  124.         Left = 8
  125.         Top = 136
  126.         Width = 209
  127.         Height = 21
  128.         ParentShowHint = False
  129.         ShowHint = True
  130.         TabOrder = 2
  131.         Text = 'anonymous'
  132.       end
  133.       object txtServerAddress: TEdit
  134.         Left = 8
  135.         Top = 96
  136.         Width = 209
  137.         Height = 21
  138.         ParentShowHint = False
  139.         ShowHint = True
  140.         TabOrder = 0
  141.         Text = 'ftp.cdrom.com'
  142.       end
  143.       object txtServerPort: TEdit
  144.         Left = 232
  145.         Top = 96
  146.         Width = 105
  147.         Height = 21
  148.         ParentShowHint = False
  149.         ShowHint = True
  150.         TabOrder = 1
  151.         Text = '21'
  152.       end
  153.       object txtPassword: TEdit
  154.         Left = 8
  155.         Top = 176
  156.         Width = 209
  157.         Height = 21
  158.         ParentShowHint = False
  159.         PasswordChar = '*'
  160.         ShowHint = True
  161.         TabOrder = 3
  162.         Text = 'guest'
  163.       end
  164.       object btDisconnect: TButton
  165.         Left = 272
  166.         Top = 280
  167.         Width = 75
  168.         Height = 25
  169.         Caption = 'Disconnect'
  170.         ParentShowHint = False
  171.         ShowHint = True
  172.         TabOrder = 5
  173.         OnClick = btDisconnectClick
  174.       end
  175.     end
  176.     object shtList: TTabSheet
  177.       Caption = 'List/Get'
  178.       object Label9: TLabel
  179.         Left = 8
  180.         Top = 120
  181.         Width = 129
  182.         Height = 17
  183.         AutoSize = False
  184.         Caption = 'sRemoteFolder:'
  185.       end
  186.       object Label10: TLabel
  187.         Left = 8
  188.         Top = 8
  189.         Width = 336
  190.         Height = 39
  191.         Caption = 
  192.           'The ListFolderContents and GetFolderContents methods allow you t' +
  193.           'o list the items contained in a folder on the FTP server. The re' +
  194.           'mote folder to list must be specified in the sRemoteFolder param' +
  195.           'eter.'
  196.         WordWrap = True
  197.       end
  198.       object Label14: TLabel
  199.         Left = 8
  200.         Top = 56
  201.         Width = 330
  202.         Height = 52
  203.         Caption = 
  204.           'The ListFolderContents method triggers an event (ListingFolderIt' +
  205.           'em) in order to provide information on each file contained in th' +
  206.           'e remote folder. The GetFolderContents object returns an XceedFt' +
  207.           'pFolderItems collection object containing all the listed items.'
  208.         WordWrap = True
  209.       end
  210.       object txtRemoteFolder: TEdit
  211.         Left = 8
  212.         Top = 144
  213.         Width = 337
  214.         Height = 21
  215.         ParentShowHint = False
  216.         ShowHint = True
  217.         TabOrder = 0
  218.       end
  219.       object chkPassiveMode: TCheckBox
  220.         Left = 8
  221.         Top = 176
  222.         Width = 113
  223.         Height = 17
  224.         Caption = 'PassiveMode'
  225.         ParentShowHint = False
  226.         ShowHint = True
  227.         TabOrder = 1
  228.       end
  229.       object btListFolderContents: TButton
  230.         Left = 232
  231.         Top = 248
  232.         Width = 115
  233.         Height = 25
  234.         Caption = 'ListFolderContents'
  235.         ParentShowHint = False
  236.         ShowHint = True
  237.         TabOrder = 2
  238.         OnClick = btListFolderContentsClick
  239.       end
  240.       object btGetFolderContents: TButton
  241.         Left = 232
  242.         Top = 280
  243.         Width = 115
  244.         Height = 25
  245.         Caption = 'GetFolderContents'
  246.         ParentShowHint = False
  247.         ShowHint = True
  248.         TabOrder = 3
  249.         OnClick = btGetFolderContentsClick
  250.       end
  251.     end
  252.     object shtSendReceive: TTabSheet
  253.       Caption = 'Send/ReceiveFile'
  254.       object Label17: TLabel
  255.         Left = 8
  256.         Top = 72
  257.         Width = 137
  258.         Height = 17
  259.         AutoSize = False
  260.         Caption = 'sLocalFilename:'
  261.       end
  262.       object Label20: TLabel
  263.         Left = 8
  264.         Top = 112
  265.         Width = 97
  266.         Height = 17
  267.         AutoSize = False
  268.         Caption = 'sRemoteFilename'
  269.       end
  270.       object Label11: TLabel
  271.         Left = 8
  272.         Top = 8
  273.         Width = 335
  274.         Height = 52
  275.         Caption = 
  276.           'The SendFile and ReceiveFile methods alllow you to send and rece' +
  277.           'ive files to and from an FTP server. The sLocalFilename paramete' +
  278.           'r specifies the name of the local file to send or to receive to.' +
  279.           ' The sRemoteFilename parameter is the file on the FTP server.'
  280.         WordWrap = True
  281.       end
  282.       object lblSendReceiveInfo: TLabel
  283.         Left = 8
  284.         Top = 288
  285.         Width = 257
  286.         Height = 13
  287.       end
  288.       object txtLocalFilename: TEdit
  289.         Left = 8
  290.         Top = 88
  291.         Width = 337
  292.         Height = 21
  293.         ParentShowHint = False
  294.         ShowHint = True
  295.         TabOrder = 0
  296.       end
  297.       object txtRemoteFilename: TEdit
  298.         Left = 8
  299.         Top = 128
  300.         Width = 337
  301.         Height = 21
  302.         ParentShowHint = False
  303.         ShowHint = True
  304.         TabOrder = 1
  305.       end
  306.       object btSendFile: TButton
  307.         Left = 272
  308.         Top = 248
  309.         Width = 75
  310.         Height = 25
  311.         Caption = 'SendFile'
  312.         ParentShowHint = False
  313.         ShowHint = True
  314.         TabOrder = 6
  315.         OnClick = btSendFileClick
  316.       end
  317.       object btReceiveFile: TButton
  318.         Left = 272
  319.         Top = 280
  320.         Width = 75
  321.         Height = 25
  322.         Caption = 'ReceiveFile'
  323.         ParentShowHint = False
  324.         ShowHint = True
  325.         TabOrder = 7
  326.         OnClick = btReceiveFileClick
  327.       end
  328.       object chkAllocateStorage: TCheckBox
  329.         Left = 8
  330.         Top = 160
  331.         Width = 337
  332.         Height = 17
  333.         Caption = 'AllocateStorage (When sending, some servers need this option)'
  334.         ParentShowHint = False
  335.         ShowHint = True
  336.         TabOrder = 2
  337.       end
  338.       object chkAppend: TCheckBox
  339.         Left = 8
  340.         Top = 176
  341.         Width = 337
  342.         Height = 17
  343.         Caption = 'Append (When sending, append to existing files)'
  344.         ParentShowHint = False
  345.         ShowHint = True
  346.         TabOrder = 3
  347.       end
  348.       object chkPassiveMode2: TCheckBox
  349.         Left = 8
  350.         Top = 192
  351.         Width = 337
  352.         Height = 17
  353.         Caption = 'PassiveMode (Server connects to client, good for firewalls)'
  354.         ParentShowHint = False
  355.         ShowHint = True
  356.         TabOrder = 4
  357.       end
  358.       object grpRepType: TGroupBox
  359.         Left = 8
  360.         Top = 224
  361.         Width = 129
  362.         Height = 57
  363.         Caption = 'RepresentationType'
  364.         ParentShowHint = False
  365.         ShowHint = True
  366.         TabOrder = 5
  367.         object optAscii: TRadioButton
  368.           Left = 8
  369.           Top = 16
  370.           Width = 105
  371.           Height = 17
  372.           Caption = 'ASCII'
  373.           ParentShowHint = False
  374.           ShowHint = False
  375.           TabOrder = 0
  376.         end
  377.         object optBinary: TRadioButton
  378.           Left = 8
  379.           Top = 32
  380.           Width = 105
  381.           Height = 17
  382.           Caption = 'Binary'
  383.           Checked = True
  384.           ParentShowHint = False
  385.           ShowHint = False
  386.           TabOrder = 1
  387.           TabStop = True
  388.         end
  389.       end
  390.     end
  391.     object shtItemHandling: TTabSheet
  392.       Caption = 'Item handling'
  393.       object Label23: TLabel
  394.         Left = 8
  395.         Top = 56
  396.         Width = 337
  397.         Height = 17
  398.         AutoSize = False
  399.         Caption = 
  400.           'sFilename parameter (Remote filename for DeleteFile or RenameFil' +
  401.           'e)'
  402.       end
  403.       object Label24: TLabel
  404.         Left = 8
  405.         Top = 136
  406.         Width = 337
  407.         Height = 17
  408.         AutoSize = False
  409.         Caption = 
  410.           'sNewFolder parameter (for CreateFolder) or sFolder (for RemoveFo' +
  411.           'lder)'
  412.       end
  413.       object Label2: TLabel
  414.         Left = 8
  415.         Top = 96
  416.         Width = 300
  417.         Height = 13
  418.         Caption = 'sNewName parameter (for RenameFile: the new filename to set)'
  419.       end
  420.       object Label12: TLabel
  421.         Left = 8
  422.         Top = 8
  423.         Width = 337
  424.         Height = 39
  425.         Caption = 
  426.           'The following methods allow you to (if the user logged in has pe' +
  427.           'rmission) delete and rename files as well as create and remove f' +
  428.           'olders on the FTP server.'
  429.         WordWrap = True
  430.       end
  431.       object txtRemoteFilenameModif: TEdit
  432.         Left = 8
  433.         Top = 72
  434.         Width = 337
  435.         Height = 21
  436.         ParentShowHint = False
  437.         ShowHint = True
  438.         TabOrder = 0
  439.       end
  440.       object txtRemoteFolderNameModif: TEdit
  441.         Left = 8
  442.         Top = 152
  443.         Width = 337
  444.         Height = 21
  445.         ParentShowHint = False
  446.         ShowHint = True
  447.         TabOrder = 2
  448.       end
  449.       object btDeleteFile: TButton
  450.         Left = 264
  451.         Top = 184
  452.         Width = 83
  453.         Height = 25
  454.         Caption = 'DeleteFile'
  455.         ParentShowHint = False
  456.         ShowHint = True
  457.         TabOrder = 3
  458.         OnClick = btDeleteFileClick
  459.       end
  460.       object txtNewName: TEdit
  461.         Left = 8
  462.         Top = 112
  463.         Width = 337
  464.         Height = 21
  465.         ParentShowHint = False
  466.         ShowHint = True
  467.         TabOrder = 1
  468.       end
  469.       object btRenameFile: TButton
  470.         Left = 264
  471.         Top = 216
  472.         Width = 83
  473.         Height = 25
  474.         Caption = 'RenameFile'
  475.         ParentShowHint = False
  476.         ShowHint = True
  477.         TabOrder = 4
  478.         OnClick = btRenameFileClick
  479.       end
  480.       object btCreateFolder: TButton
  481.         Left = 264
  482.         Top = 248
  483.         Width = 83
  484.         Height = 25
  485.         Caption = 'CreateFolder'
  486.         ParentShowHint = False
  487.         ShowHint = True
  488.         TabOrder = 5
  489.         OnClick = btCreateFolderClick
  490.       end
  491.       object btRemoveFolder: TButton
  492.         Left = 264
  493.         Top = 280
  494.         Width = 83
  495.         Height = 25
  496.         Caption = 'RemoveFolder'
  497.         ParentShowHint = False
  498.         ShowHint = True
  499.         TabOrder = 6
  500.         OnClick = btRemoveFolderClick
  501.       end
  502.     end
  503.   end
  504.   object StatusBar1: TStatusBar
  505.     Left = 0
  506.     Top = 400
  507.     Width = 625
  508.     Height = 25
  509.     Align = alNone
  510.     Panels = <
  511.       item
  512.         Text = 'File:'
  513.         Width = 305
  514.       end
  515.       item
  516.         Text = 'Global:'
  517.         Width = 50
  518.       end>
  519.     SimplePanel = False
  520.     SizeGrip = False
  521.   end
  522.   object barFile: TProgressBar
  523.     Left = 40
  524.     Top = 408
  525.     Width = 257
  526.     Height = 12
  527.     Min = 0
  528.     Max = 100
  529.     TabOrder = 3
  530.   end
  531.   object barGlobal: TProgressBar
  532.     Left = 360
  533.     Top = 408
  534.     Width = 257
  535.     Height = 12
  536.     Min = 0
  537.     Max = 100
  538.     TabOrder = 2
  539.   end
  540.   object xFtp: TXceedFtp
  541.     Left = 584
  542.     Top = 24
  543.     Width = 30
  544.     Height = 30
  545.     OnDisconnected = xFtpDisconnected
  546.     OnFileTransferStatus = xFtpFileTransferStatus
  547.     OnListingFolderItem = xFtpListingFolderItem
  548.     OnLoggingCommandLine = xFtpLoggingCommandLine
  549.     OnReceivingFile = xFtpReceivingFile
  550.     OnSendingFile = xFtpSendingFile
  551.     OnSkippingFile = xFtpSkippingFile
  552.     ControlData = {
  553.       0003000008000200000000000B0000000B00000008000200000000000300D71F
  554.       00000300010000000800020000000000020000000B00FFFF08000C0000006700
  555.       7500650073007400000003000000000008000200000000000200150008001400
  556.       000061006E006F006E0079006D006F0075007300000003000000000008000200
  557.       000000000200380408000200000000000800020000000000}
  558.   end
  559.   object lstLogAndErrors: TListBox
  560.     Left = 376
  561.     Top = 280
  562.     Width = 241
  563.     Height = 113
  564.     ItemHeight = 13
  565.     TabOrder = 5
  566.   end
  567.   object lstFolderListing: TListView
  568.     Left = 376
  569.     Top = 64
  570.     Width = 241
  571.     Height = 193
  572.     Columns = <
  573.       item
  574.         Caption = 'Filename'
  575.         Width = 185
  576.       end
  577.       item
  578.         Caption = 'Type'
  579.       end>
  580.     RowSelect = True
  581.     TabOrder = 6
  582.     ViewStyle = vsReport
  583.   end
  584. end
  585.