亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xpcombo.ctl

?? 一個比較完整的圖書館管理系統
?? CTL
?? 第 1 頁 / 共 2 頁
字號:
VERSION 5.00
Begin VB.UserControl XPCombo 
   BackColor       =   &H00D8E9EC&
   BackStyle       =   0  '透明
   ClientHeight    =   3180
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   4890
   EditAtDesignTime=   -1  'True
   LockControls    =   -1  'True
   ScaleHeight     =   3180
   ScaleWidth      =   4890
   Begin VB.PictureBox JImgCbo 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   255
      Left            =   840
      Picture         =   "XPCombo.ctx":0000
      ScaleHeight     =   255
      ScaleWidth      =   255
      TabIndex        =   3
      Top             =   30
      Width           =   255
   End
   Begin VB.PictureBox BackMain 
      Appearance      =   0  'Flat
      BackColor       =   &H00FFFFFF&
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   465
      Left            =   0
      ScaleHeight     =   465
      ScaleWidth      =   2445
      TabIndex        =   1
      Top             =   0
      Width           =   2445
      Begin VB.TextBox JTexto 
         Appearance      =   0  'Flat
         BackColor       =   &H00FFFFFF&
         BorderStyle     =   0  'None
         Height          =   195
         Left            =   75
         TabIndex        =   2
         Text            =   "0"
         Top             =   60
         Width           =   720
      End
      Begin VB.Shape ShapeBorder 
         BorderColor     =   &H00B99D7F&
         Height          =   315
         Left            =   0
         Top             =   0
         Width           =   1125
      End
   End
   Begin VB.ComboBox JCombo 
      Height          =   300
      Left            =   0
      Style           =   2  'Dropdown List
      TabIndex        =   0
      Top             =   510
      Width           =   2295
   End
   Begin VB.Image Img 
      Height          =   255
      Index           =   2
      Left            =   0
      Picture         =   "XPCombo.ctx":03B6
      Top             =   0
      Width           =   255
   End
   Begin VB.Image Img 
      Height          =   255
      Index           =   0
      Left            =   0
      Picture         =   "XPCombo.ctx":076C
      Top             =   0
      Width           =   255
   End
   Begin VB.Image Img 
      Height          =   255
      Index           =   1
      Left            =   4000
      Picture         =   "XPCombo.ctx":0B22
      Top             =   0
      Width           =   255
   End
   Begin VB.Image Img 
      Height          =   255
      Index           =   3
      Left            =   4000
      Picture         =   "XPCombo.ctx":0ED8
      Top             =   630
      Width           =   255
   End
End
Attribute VB_Name = "XPCombo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'****************************************************************************
'人人為我,我為人人
'枕善居漢化收藏整理
'發布日期:05/05/17
'描  述:XP風格下拉列表框
'網  站:http://www.mndsoft.com/
'e-mail:mnd@mndsoft.com
'OICQ  : 88382850
'****************************************************************************
'.------------------------------------------------------------------
' Control   : JZ XP Combo Box 1.2
' Edition   : 13-May-2005
' Author    : JOZE Walter de Moura - RIO DE JANEIRO, BRASIL.
'           : me: www.joze.kit.net   or   qualyum@globo.com
'           :
'           : Well, I've used basics on Combo Box "as XP"
'           : codes from several authors at Internet whose
'           : credits I acknowledge e appreciate.
'           :
'           : I've made a "brush up" certain routines and
'           : wrote all engines for TagCodes and Save/Load.
'           :
'Application: Another XP style Combo Box, but
'           : - as easy as TextBox programming: .Text, .Locked, etc.
'           : - a TagCode option allowing AddItens with leading
'           :   correlative data code, e.g., "US=United States" so
'           :   Combo lists is only "United States" and you can
'           :   retrieve "US" when selected by user.
'           : - A Save/Load engine using Text Files, notepadding
'           :   editable, so many applications as:
'           :   - Language and regional terminology supports;
'           :   - Small tables without DB;
'           :   - The same combo can get many text files - may be
'           :     a refined tree navigation.
'           :   - etc.
'           : - Maintenance functions to Append, Insert, Update and
'           :   Remove already loaded list items.
'           :
' License   : Freeware - you may distribute, alter, sold, anything
'           : as you want. This code is for you, don't it?
'           : I'm sure you will apply maximum of honesty and ethics
'           : concerning it.
'           :
' PS.       : TagCode treatment is limited to 100. If you need more,
'           : only to do is alter de MaxTCods constant value.
'           : Also, I've not improved other functions, as sort, auto-
'           : completes, etc., due avoiding "strong code".
'           :
'           : Joze.
'           :
' --------- :
' vers 1.2  : 16-May-2005
' --------- :
'           : Thanks a million to Territop (Paul) who have help to depure
'           : some bugs and suggest enhancements.
'           :
'  Enhances : 1. Function GetItem([index]) As String
'           :    Returns a string reflecting pointed Combo.List
'           :    If using TagCode then returns a string in format
'           :    "xxx=yyyy". i.e., TagCode & "=" & List.
'           :
'     Fixed : 1. MouseMove, MouseDown, KeyPress, KeyDown, KeyUp
'           :    for proper functions.
'           :
'           : 2. Bright effect on Combo Box Pick Botton now works ok.
'           :
'Know Errors: 1. When combo scrolling, in non-XP Windows, the
'           :    ScrollBar is not a Stylized "as XP".
'           :
'           :    Community Attention: I'd like your feedback if it
'           :    is a fundamental design adjust or not, and if
'           :    who had a nice and light suplemental code to do
'           :    this, ok?
'           :
'           : Thanks, Joze.
'           :
'`------------------------------------------------------------------'
Option Explicit

Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

Const CB_SHOWDROPDOWN = &H14F
Const CB_GETDROPPEDSTATE = &H157

'Events
Public Event Click()
Public Event Change()
Public Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Public Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Public Event KeyPress(KeyAscii As Integer)
Public Event KeyDown(KeyCode As Integer, Shift As Integer)
Public Event KeyUp(KeyCode As Integer, Shift As Integer)

Const m_def_Enabled = 0
Const MaxTCods = 99

Dim m_Enabled As Boolean
Dim m_TagCode As Boolean
Dim m_FileName As String

Dim TCods(0 To MaxTCods) As String
Dim TLim As Long 'actual limit of array
Dim Tix As Long 'work pointer to array
Dim Titem As String
Dim TCod As String
Dim TTex As String
Dim m_Buf As String


Private Sub OpenCombo(chwnd As Long)
    Dim rc As Long
    rc = SendMessage(chwnd, CB_GETDROPPEDSTATE, 0, 0)
    If rc = 0 Then
        SendMessage chwnd, CB_SHOWDROPDOWN, True, 0
    Else
        SendMessage chwnd, CB_SHOWDROPDOWN, False, 0
    End If
    DoEvents
    ResetPic
End Sub

Private Sub RePos()
Dim i As Integer
    If Width < 400 Then Width = 400
    ShapeBorder.Width = Width
    JImgCbo.Left = Width - 285
    BackMain.Width = Width
    
    With JCombo
        .Top = 30
        .Left = 0
        .Width = Width
    End With
    
    Height = 315
    
    With JTexto
        .Width = Width - 375
        .Top = 60
        If .FontSize > 8 Then
            i = .FontSize - 8
            i = i * 15
            .Top = .Top - i
        End If
    End With
    
End Sub

Private Sub JCombo_Click()
    JTexto = JCombo.Text
End Sub

Private Sub JImgCbo_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    JImgCbo.Picture = Img(2).Picture
    OpenCombo JCombo.hWnd
End Sub

Private Sub JImgCbo_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If JImgCbo.Picture <> Img(1).Picture Then JImgCbo.Picture = Img(1).Picture
    RaiseEvent MouseMove(Button, Shift, X, Y)
End Sub

Private Sub JTexto_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    RaiseEvent MouseMove(Button, Shift, X, Y)
End Sub

Private Sub UserControl_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    RaiseEvent MouseMove(Button, Shift, X, Y)
End Sub

Private Sub JTexto_KeyDown(KeyCode As Integer, Shift As Integer)
    RaiseEvent KeyDown(KeyCode, Shift)
End Sub

Private Sub UserControl_KeyDown(KeyCode As Integer, Shift As Integer)
    RaiseEvent KeyDown(KeyCode, Shift)
End Sub

Private Sub JTexto_KeyPress(KeyAscii As Integer)
    RaiseEvent KeyPress(KeyAscii)
End Sub

Private Sub UserControl_KeyPress(KeyAscii As Integer)
    RaiseEvent KeyPress(KeyAscii)
End Sub

Private Sub JTexto_KeyUp(KeyCode As Integer, Shift As Integer)
    RaiseEvent KeyUp(KeyCode, Shift)
End Sub

Private Sub UserControl_KeyUp(KeyCode As Integer, Shift As Integer)
    RaiseEvent KeyUp(KeyCode, Shift)
End Sub

Private Sub UserControl_Resize()
    RePos
End Sub

Public Property Get Text() As String
    Text = JTexto.Text
End Property

Public Property Let Text(ByVal New_Text As String)
    JTexto.Text() = New_Text
    PropertyChanged "Text"
End Property

Public Property Get FileName() As String
   FileName = m_FileName
End Property

Public Property Let FileName(ByVal New_FileName As String)
   m_FileName = New_FileName
   PropertyChanged "FileName"
End Property

'Load property values from storage
Private Sub UserControl_ReadProperties(PropBag As PropertyBag)

    JTexto.Text = PropBag.ReadProperty("Text", "0")
    JTexto.BackColor = PropBag.ReadProperty("BackColor", &HFFFFFF)
    Set JTexto.Font = PropBag.ReadProperty("Font", Ambient.Font)
    JTexto.ForeColor = PropBag.ReadProperty("ForeColor", &H80000008)
    JCombo.ListIndex = PropBag.ReadProperty("ListIndex", -1)
    JTexto.Locked = PropBag.ReadProperty("Locked", False)
    JTexto.MaxLength = PropBag.ReadProperty("MaxLength", 0)
    JTexto.ToolTipText = PropBag.ReadProperty("ToolTipText", "")
    JTexto.DataField = PropBag.ReadProperty("FieldName", "")
    
    RePos
    
    m_Enabled = PropBag.ReadProperty("Enabled", m_def_Enabled)
    m_TagCode = PropBag.ReadProperty("TagCode", False)
    m_FileName = PropBag.ReadProperty("FileName", "")

End Sub

'Write property values to storage
Private Sub UserControl_WriteProperties(PropBag As PropertyBag)

    Call PropBag.WriteProperty("Text", JTexto.Text, "0")
    Call PropBag.WriteProperty("BackColor", JTexto.BackColor, &HFFFFFF)
    Call PropBag.WriteProperty("Font", JTexto.Font, Ambient.Font)
    Call PropBag.WriteProperty("ForeColor", JTexto.ForeColor, &H80000008)
    Call PropBag.WriteProperty("ListIndex", JCombo.ListIndex, -1)
    Call PropBag.WriteProperty("Locked", JTexto.Locked, False)
    Call PropBag.WriteProperty("MaxLength", JTexto.MaxLength, 0)
    Call PropBag.WriteProperty("ToolTipText", JTexto.ToolTipText, "")
    Call PropBag.WriteProperty("FieldName", JTexto.DataField, "")
    Call PropBag.WriteProperty("Enabled", m_Enabled, m_def_Enabled)
    Call PropBag.WriteProperty("TagCode", m_TagCode, False)
    Call PropBag.WriteProperty("SelStart", JTexto.SelStart, 0)
    Call PropBag.WriteProperty("SelLength", JTexto.SelLength, 0)
    Call PropBag.WriteProperty("SelText", JTexto.SelText, "")
    Call PropBag.WriteProperty("FileName", m_FileName, "")

End Sub

Sub ResetPic()
    If JImgCbo.Picture <> Img(0).Picture Then
        JImgCbo.Picture = Img(0).Picture
    End If
End Sub

Private Sub JTexto_Click()
    RaiseEvent Click
End Sub

Private Sub JTexto_Change()
   RaiseEvent Change
End Sub

Public Sub UpdateItem(Item As String, ByVal Index As Variant)
   If Index < 0 Or Index > JCombo.ListCount - 1 Then ' test bounds
      Exit Sub
   End If
   If m_TagCode = False Then 'normal
      JCombo.List(Index) = Item 'updates it as is
   Else
'TagCode is on
      If Index > MaxTCods Or Index > TLim Then 'tcodes limits
         JCombo.List(Index) = Item 'updates it as is
      Else
         Call IsTagCode(Item)
         JCombo.List(Index) = TTex 'updates combo segment
         Tix = CLng(Index) ' for coherence proposes only
         TCods(Tix) = TCod
      End If
   End If
   JTexto.Text = JCombo.Text
   RaiseEvent Change
End Sub

Public Sub AddItem(Item As String, Optional ByVal Index As Variant)
   If IsMissing(Index) Then
      PutItem Item
   Else
      If Index < 0 Then
         Index = 0
      End If
      If Index > JCombo.ListCount - 1 Then
         PutItem Item
      Else
         PutItem Item, Index
      End If
   End If
   JCombo.ListIndex = Tix
   JTexto.Text = JCombo.Text
   RaiseEvent Change
End Sub

Public Function GetItem(Optional Index As Variant) As String
   Dim i As Long
   Dim s As String
   If IsMissing(Index) Then
      If JCombo.ListCount > 0 Then
         i = JCombo.ListCount - 1
      Else
         GetItem = ""
         Exit Function
      End If
   Else
      i = CLng(Index)
      If i < 0 Then
         i = 0
      End If
   End If
   s = ""
   If m_TagCode = True Then
      s = TCods(i) & "="
   End If
   GetItem = s & JCombo.List(CInt(i)) 'maybe adjust code to future VB version
End Function

Public Sub RemoveItem(Optional Index As Variant)
   Dim i As Long
   If IsMissing(Index) Then
      If JCombo.ListCount > 0 Then
         i = JCombo.ListCount - 1
      Else
         Exit Sub
      End If
   Else
      i = CLng(Index)
      If i < 0 Then
         i = 0
      End If
   End If
   If m_TagCode = True Then
      RemoveTagCode i
   End If

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲成年网址在线观看| 欧美r级电影在线观看| 亚洲天堂精品在线观看| 成人av影院在线| 亚洲精品免费在线播放| 欧美亚洲一区二区在线观看| 视频一区二区三区中文字幕| 精品免费日韩av| 国产.精品.日韩.另类.中文.在线.播放| 国产午夜亚洲精品理论片色戒| 风流少妇一区二区| 亚洲一区二区三区四区五区黄 | 日韩欧美国产三级| 国产精品1区二区.| 亚洲精选在线视频| 欧美一区二区三区免费在线看| 狠狠色综合日日| 亚洲精品日日夜夜| 欧美电视剧免费全集观看| 成人高清视频免费观看| 亚洲最大的成人av| 精品久久久久av影院| 91亚洲永久精品| 蜜桃视频在线观看一区二区| 国产亚洲一二三区| 欧美日韩久久不卡| 成人深夜在线观看| 日韩高清一区二区| 日韩理论电影院| 欧美成人福利视频| 欧美自拍偷拍午夜视频| 国产精品一二三四| 亚洲va在线va天堂| 一区二区中文视频| 精品88久久久久88久久久| 欧美探花视频资源| av电影一区二区| 国产一区二区0| 日韩精品一二三| 亚洲人吸女人奶水| 久久精品亚洲麻豆av一区二区 | 国产精品不卡在线| 欧美一区二区免费观在线| av一二三不卡影片| 狠狠色丁香久久婷婷综合_中| 一区二区三区丝袜| 国产精品美日韩| 精品久久人人做人人爱| 9191成人精品久久| 欧美天堂亚洲电影院在线播放| 国产电影一区二区三区| 毛片av一区二区三区| 亚洲国产精品精华液网站| 亚洲欧美综合色| 国产午夜精品在线观看| 精品久久久久av影院| 7777精品伊人久久久大香线蕉最新版| 99riav久久精品riav| 成人一区二区三区在线观看| 捆绑调教美女网站视频一区| 日韩黄色在线观看| 日本伊人色综合网| 日韩精品一级二级 | 精品国产伦一区二区三区观看体验| 97aⅴ精品视频一二三区| 国产成人av一区二区三区在线| 精品影院一区二区久久久| 日本午夜精品一区二区三区电影 | 欧美一区二区三区性视频| 欧美一a一片一级一片| 日本久久电影网| 99亚偷拍自图区亚洲| 成人av电影在线播放| 不卡视频在线看| 99久久久精品免费观看国产蜜| 丁香亚洲综合激情啪啪综合| 国产91清纯白嫩初高中在线观看 | 韩国成人福利片在线播放| 久久99久久久久久久久久久| 丝袜美腿亚洲综合| 日本人妖一区二区| 久久精品国产精品青草| 激情丁香综合五月| 成人综合在线网站| 91丨九色丨尤物| 欧美在线视频不卡| 欧美精品在线观看播放| 欧美一二三四在线| 久久精品人人爽人人爽| 中文字幕日本乱码精品影院| 专区另类欧美日韩| 首页亚洲欧美制服丝腿| 久久精品国产亚洲5555| 国产盗摄一区二区三区| 色香蕉成人二区免费| 91福利在线导航| 日韩一区二区免费电影| 欧美激情一区二区在线| 亚洲人成精品久久久久久| 亚洲成人免费av| 国产麻豆成人传媒免费观看| 99视频热这里只有精品免费| 欧美日韩二区三区| 久久综合色天天久久综合图片| 国产精品家庭影院| 日韩中文欧美在线| 国产69精品久久久久毛片| 欧美性视频一区二区三区| 精品国产一二三| 亚洲天堂2016| 久久国内精品视频| 色国产综合视频| 亚洲精品一区二区精华| 一区二区三区中文字幕电影| 久久99国产精品免费| 91蜜桃在线免费视频| 精品国内二区三区| 亚洲一线二线三线视频| 激情国产一区二区| 欧美日韩综合在线| 中文一区二区在线观看| 日产国产欧美视频一区精品| av成人免费在线| 精品福利二区三区| 亚洲自拍偷拍av| 国产成人自拍网| 欧美精品久久天天躁| 国产精品午夜免费| 毛片不卡一区二区| 欧美日韩中文字幕精品| 国产精品丝袜久久久久久app| 天天操天天色综合| 99国产精品国产精品久久| 久久这里只精品最新地址| 亚洲无线码一区二区三区| 国产91在线|亚洲| 日韩午夜在线观看| 偷拍日韩校园综合在线| 色综合久久中文字幕综合网| 久久免费视频色| 久久疯狂做爰流白浆xx| 欧美疯狂性受xxxxx喷水图片| 亚洲婷婷在线视频| 成人污视频在线观看| 久久久久久久久久看片| 免费观看成人av| 51精品秘密在线观看| 夜夜精品视频一区二区| gogogo免费视频观看亚洲一| 精品国内片67194| 久久福利资源站| 国产精品不卡视频| 久久精品视频网| 国产在线播放一区| 精品久久久久av影院 | 欧美日韩国产首页在线观看| 亚洲欧洲无码一区二区三区| 国产激情视频一区二区在线观看 | 欧美乱熟臀69xxxxxx| 亚洲激情校园春色| 色综合天天综合在线视频| 一区在线播放视频| 色一区在线观看| 亚洲综合在线五月| 在线观看亚洲a| 亚洲成a人片在线观看中文| 精品视频在线看| 日韩不卡一二三区| 欧美一区二区在线播放| 日韩vs国产vs欧美| 日韩精品中文字幕在线不卡尤物| 男男视频亚洲欧美| 日韩限制级电影在线观看| 极品美女销魂一区二区三区 | 国产三级久久久| 风间由美一区二区三区在线观看 | 久久99蜜桃精品| 日韩欧美国产三级电影视频| 精品在线亚洲视频| 国产日韩欧美综合在线| 北岛玲一区二区三区四区| 亚洲同性gay激情无套| 欧美在线制服丝袜| 免费在线一区观看| 久久久久久日产精品| 成人av网站免费| 一区二区三区**美女毛片| 欧美日韩国产电影| 精品亚洲成a人在线观看| 久久久亚洲精品石原莉奈| 成人高清伦理免费影院在线观看| 国产精品人成在线观看免费 | 天堂va蜜桃一区二区三区| 欧美不卡一区二区三区| 成人免费黄色在线| 亚洲电影一区二区| 久久免费美女视频| 欧美午夜一区二区三区| 国产一区免费电影| 亚洲免费在线观看|