📄 unit1.dfm
字号:
object Form1: TForm1
Left = 247
Top = 114
BorderStyle = bsDialog
Caption = 'Web Update Sample'
ClientHeight = 139
ClientWidth = 369
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
PixelsPerInch = 96
TextHeight = 13
object btnStart: TButton
Left = 24
Top = 80
Width = 75
Height = 25
Caption = 'Start Update'
TabOrder = 1
OnClick = btnStartClick
end
object btnCancel: TButton
Left = 112
Top = 80
Width = 75
Height = 25
Caption = 'Cancel'
TabOrder = 2
OnClick = btnCancelClick
end
object edtStatus: TEdit
Left = 24
Top = 32
Width = 337
Height = 21
Color = clBtnFace
ReadOnly = True
TabOrder = 0
Text = 'Ready'
end
object clWebUpdate1: TclWebUpdate
ProductName = 'My product'
Author = 'My company'
ProductURL = 'www.myweb.com'
Email = 'info@myweb.com'
UpdateURL = 'ftp://localhost/webupdateftp/update.xml'
UpdateDir = '.\updates'
ActualUpdateInfoFile = '.\updates\lastupdate.xml'
VersionFormat = vfNumber
UserName = 'CleverTester'
Password = 'clevertester'
NeedShowInfo = False
ErrorWords.Strings = (
'fatal'
'failed'
'error'
'0 file(s) copied')
OnGetUpdateInfo = clWebUpdate1GetUpdateInfo
OnHasUpdate = clWebUpdate1HasUpdate
OnRunUpdate = clWebUpdate1RunUpdate
OnTerminating = clWebUpdate1Terminating
OnDownloadProgress = clWebUpdate1DownloadProgress
OnError = clWebUpdate1Error
OnNoUpdatesFound = clWebUpdate1NoUpdatesFound
Left = 256
Top = 64
end
object clDownLoader1: TclDownLoader
InternetAgent = 'Mozilla/4.0 (compatible; Clever Internet Suite)'
Left = 296
Top = 64
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -