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

📄 frmselectoutputlinks.frm

📁 Data monkey是一个强大的是数据传输和转换应用程序。使用DataMonkey用户可以把复杂的文本文件格式
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSelectOutputLinks 
   Caption         =   "Output Source"
   ClientHeight    =   1932
   ClientLeft      =   60
   ClientTop       =   348
   ClientWidth     =   3768
   LinkTopic       =   "Form1"
   ScaleHeight     =   1932
   ScaleWidth      =   3768
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton btnCancel 
      Cancel          =   -1  'True
      Caption         =   "&Cancel"
      Height          =   375
      Left            =   2760
      TabIndex        =   2
      Top             =   1440
      Width           =   855
   End
   Begin VB.CommandButton btnOk 
      Caption         =   "&Ok"
      Default         =   -1  'True
      Height          =   375
      Left            =   1800
      TabIndex        =   1
      Top             =   1440
      Width           =   855
   End
   Begin VB.ListBox lstOutputLinks 
      Appearance      =   0  'Flat
      Height          =   792
      Left            =   120
      TabIndex        =   0
      Top             =   480
      Width           =   3495
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "Select an Output Source"
      Height          =   195
      Left            =   120
      TabIndex        =   3
      Top             =   120
      Width           =   1755
   End
End
Attribute VB_Name = "frmSelectOutputLinks"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' DataMonkey Data Conversion Application. Written by Theodore L. Ward
' Copyright (C) 2002 AstroComma Incorporated.
'
' This program is free software; you can redistribute it and/or
' modify it under the terms of the GNU General Public License
' as published by the Free Software Foundation; either version 2
' of the License, or (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program; if not, write to the Free Software
' Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
' The author may be contacted at:
' TheodoreWard@Hotmail.com or TheodoreWard@Yahoo.com

Option Explicit
Public OutputLinksIndex As Integer

Private Sub btnCancel_Click()
    GFormReturnValue = vbCancel
    Me.Hide
End Sub

Private Sub btnOk_Click()
    With frmSelectOutputLinks.lstOutputLinks
    If .ListIndex < 0 Then
        MsgBox "Select an item, or press the cancel button", vbOKOnly Or vbInformation, "Error"
        Exit Sub
    End If
    GFormReturnValue = vbOK
    OutputLinksIndex = .ItemData(.ListIndex)
    End With
    Me.Hide
End Sub

Private Sub Form_Load()
    Dim ol  As COutputLinks
    With frmSelectOutputLinks.lstOutputLinks
        .Clear
        For Each ol In GImport.GetOutputLinksManager
            .AddItem ol.name
            .ItemData(.ListCount - 1) = _
                .ListCount
        Next ol
    End With
    
    OutputLinksIndex = -1
    
End Sub

Private Sub lstOutputLinks_DblClick()
    btnOk_Click
End Sub

⌨️ 快捷键说明

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