⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit1.dfm

📁 Delphi使用Indy实现FTP操作例子(代码实现)
💻 DFM
字号:
object Form1: TForm1
  Left = 184
  Top = 134
  AlphaBlendValue = 100
  BorderStyle = bsDialog
  Caption = 'Form1'
  ClientHeight = 331
  ClientWidth = 687
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 8
    Top = 305
    Width = 81
    Height = 13
    AutoSize = False
    Caption = 'Label1'
  end
  object Label2: TLabel
    Left = 16
    Top = 168
    Width = 41
    Height = 33
    AutoSize = False
    Caption = 
      'asfsdfsafasfasdfsadfsadfasdasdfsafasdfasfasdfasfasfdasdfasdddddd' +
      'dddddddd'
    Color = clBtnFace
    ParentColor = False
    Transparent = True
    WordWrap = True
  end
  object Label3: TLabel
    Left = 91
    Top = 35
    Width = 36
    Height = 13
    AutoSize = False
    Caption = #29992#25143
  end
  object Label4: TLabel
    Left = 91
    Top = 59
    Width = 36
    Height = 13
    AutoSize = False
    Caption = #23494#30721
  end
  object Button2: TButton
    Left = 8
    Top = 8
    Width = 75
    Height = 25
    Caption = #36830#25509'FTP'
    TabOrder = 0
    OnClick = Button2Click
  end
  object Button4: TButton
    Left = 8
    Top = 40
    Width = 75
    Height = 25
    Caption = #26681#30446#24405
    TabOrder = 1
    OnClick = Button4Click
  end
  object Button5: TButton
    Left = 8
    Top = 72
    Width = 75
    Height = 25
    Caption = #19979#36733#25991#20214
    TabOrder = 2
    OnClick = Button5Click
  end
  object ListView1: TListView
    Left = 256
    Top = 8
    Width = 425
    Height = 129
    Columns = <>
    TabOrder = 3
    OnDblClick = ListView1DblClick
  end
  object edtUserName: TEdit
    Left = 128
    Top = 32
    Width = 121
    Height = 21
    TabOrder = 4
    Text = 'ftp'
  end
  object edtPwd: TEdit
    Left = 128
    Top = 56
    Width = 121
    Height = 21
    TabOrder = 5
    Text = 'ftp123'
  end
  object edtHost: TEdit
    Left = 128
    Top = 8
    Width = 121
    Height = 21
    TabOrder = 6
    Text = 'localhost'
  end
  object btnPost: TButton
    Left = 8
    Top = 104
    Width = 75
    Height = 25
    Caption = #19978#20256#25991#20214
    TabOrder = 7
    OnClick = btnPostClick
  end
  object Button6: TButton
    Left = 128
    Top = 88
    Width = 121
    Height = 25
    Caption = #26159#21542#25903#25345#26029#28857#32493#20256
    TabOrder = 8
    OnClick = Button6Click
  end
  object Memo2: TMemo
    Left = 96
    Top = 152
    Width = 583
    Height = 145
    ScrollBars = ssBoth
    TabOrder = 9
  end
  object Button7: TButton
    Left = 8
    Top = 264
    Width = 75
    Height = 25
    Caption = #20851#38381#36830#25509
    TabOrder = 10
    OnClick = Button7Click
  end
  object Button3: TButton
    Left = 8
    Top = 168
    Width = 75
    Height = 25
    Caption = #20013#26029
    TabOrder = 11
    OnClick = Button3Click
  end
  object Button8: TButton
    Left = 8
    Top = 136
    Width = 75
    Height = 25
    Caption = #21024#38500#25991#20214
    TabOrder = 12
    OnClick = Button8Click
  end
  object pb1: TProgressBar
    Left = 96
    Top = 304
    Width = 585
    Height = 17
    TabOrder = 13
  end
  object Button9: TButton
    Left = 8
    Top = 200
    Width = 75
    Height = 25
    Caption = #32456#27490
    TabOrder = 14
    OnClick = Button9Click
  end
  object Button10: TButton
    Left = 8
    Top = 232
    Width = 75
    Height = 25
    Caption = #21047#26032
    TabOrder = 15
    OnClick = Button10Click
  end
  object IdFTP1: TIdFTP
    OnStatus = IdFTP1Status
    Intercept = IdConnectionIntercept1
    IOHandler = IdIOHandlerSocket1
    MaxLineAction = maException
    ReadTimeout = 0
    OnWork = IdFTP1Work
    OnWorkBegin = IdFTP1WorkBegin
    OnWorkEnd = IdFTP1WorkEnd
    Host = '124.207.144.18'
    OnConnected = IdFTP1Connected
    Password = 'minidelphi'
    Username = 'delphi'
    ProxySettings.ProxyType = fpcmNone
    ProxySettings.Port = 0
    OnAfterClientLogin = IdFTP1AfterClientLogin
    Left = 272
    Top = 24
  end
  object SaveDialog1: TSaveDialog
    Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
    Left = 336
    Top = 24
  end
  object ImageList1: TImageList
    Left = 368
    Top = 24
  end
  object OpenDialog1: TOpenDialog
    Left = 304
    Top = 24
  end
  object IdConnectionIntercept1: TIdConnectionIntercept
    Left = 184
    Top = 120
  end
  object IdAntiFreeze1: TIdAntiFreeze
    Left = 136
    Top = 120
  end
  object IdIOHandlerSocket1: TIdIOHandlerSocket
    Left = 232
    Top = 120
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -