frmShowUrlInfo.frm
资源名称:IE_VB.rar [点击查看]
上传用户:davilee3
上传日期:2015-04-22
资源大小:986k
文件大小:2k
源码类别:
浏览器
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form frmShowUrlInfo
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "Form1"
- ClientHeight = 1305
- ClientLeft = 45
- ClientTop = 285
- ClientWidth = 4680
- LinkTopic = "Form1"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1305
- ScaleWidth = 4680
- ShowInTaskbar = 0 'False
- StartUpPosition = 1 '所有者中心
- Begin VB.CommandButton cmdClose
- Cancel = -1 'True
- Caption = "关闭(&C)"
- Height = 375
- Left = 3600
- TabIndex = 2
- Top = 840
- Width = 975
- End
- Begin VB.TextBox txtUrl
- BackColor = &H8000000F&
- Height = 270
- HideSelection = 0 'False
- Left = 120
- Locked = -1 'True
- TabIndex = 1
- Top = 480
- Width = 4455
- End
- Begin VB.TextBox txtUrlCaption
- BackColor = &H8000000F&
- Height = 270
- HideSelection = 0 'False
- Left = 120
- Locked = -1 'True
- TabIndex = 0
- Top = 120
- Width = 4455
- End
- End
- Attribute VB_Name = "frmShowUrlInfo"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Public Sub IniForm(nCaption As String, Url As String, Owner As MDIForm)
- Me.Caption = nCaption
- txtUrlCaption.Text = nCaption
- txtUrl.Text = Url
- Me.Show , Owner
- End Sub
- Private Sub cmdClose_Click()
- Unload Me
- End Sub
- Private Sub txtUrl_GotFocus()
- With txtUrl
- .SelStart = 0
- .SelLength = Len(.Text)
- End With
- End Sub
- Private Sub txtUrlCaption_GotFocus()
- With txtUrlCaption
- .SelStart = 0
- .SelLength = Len(.Text)
- End With
- End Sub