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

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

?? fatcombo.ctl

?? 一套簡單的銷售管理系統
?? CTL
字號:
VERSION 5.00
Begin VB.UserControl FCombo 
   BackColor       =   &H00FFFFFF&
   ClientHeight    =   345
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   2160
   ScaleHeight     =   345
   ScaleWidth      =   2160
   Begin VB.PictureBox P1 
      AutoRedraw      =   -1  'True
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BorderStyle     =   0  'None
      Height          =   135
      Left            =   0
      ScaleHeight     =   135
      ScaleWidth      =   1695
      TabIndex        =   2
      TabStop         =   0   'False
      Top             =   0
      Width           =   1695
      Begin VB.TextBox Text1 
         BackColor       =   &H00FFFFFF&
         BorderStyle     =   0  'None
         Height          =   180
         Left            =   20
         TabIndex        =   3
         Top             =   20
         Width           =   135
      End
      Begin VB.Image Image1 
         Height          =   60
         Left            =   0
         Picture         =   "FatCombo.ctx":0000
         Top             =   0
         Visible         =   0   'False
         Width           =   105
      End
      Begin VB.Label LB1 
         AutoSize        =   -1  'True
         BackColor       =   &H00FFFFFF&
         BackStyle       =   0  'Transparent
         Height          =   60
         Left            =   45
         TabIndex        =   0
         Top             =   30
         Width           =   570
      End
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Left            =   0
      TabIndex        =   1
      TabStop         =   0   'False
      Text            =   "Combo1"
      Top             =   0
      Width           =   1575
   End
   Begin VB.Line Line1 
      BorderColor     =   &H000000FF&
      X1              =   0
      X2              =   2040
      Y1              =   300
      Y2              =   300
   End
End
Attribute VB_Name = "FCombo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Private Declare Function SetCapture Lib "user32" (ByVal hwnd As Long) As Long
Private Declare Function ReleaseCapture Lib "user32" () As Long
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
Private Declare Function MoveWindow Lib "user32" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long
Const CB_SHOWDROPDOWN = &H14F

'事件聲明:
Event Change() 'MappingInfo=Combo1,Combo1,-1,Change
Attribute Change.VB_Description = "當控件內容改變時發生。"
Event Click() 'MappingInfo=Combo1,Combo1,-1,Click
Event Expand()
Dim IfMove As Boolean
Dim EText As Boolean

Private Sub Combo1_Click()
On Error Resume Next
    Text1 = Combo1.Text
    PrintText
    If Text1.Visible = True Then
    Text1.SetFocus
    Else
    P1.SetFocus
    End If
    SetIt
    RaiseEvent Click
End Sub

Public Function SetDropdownWidth(NewWidthPixel As Long) As Boolean
    MoveWindow Combo1.hwnd, Combo1.Left, Combo1.Top, Combo1.Width / 15, NewWidthPixel, 1
End Function

'注意!不要刪除或修改下列被注釋的行!
'MappingInfo=Combo1,Combo1,-1,Font
Public Property Get Font() As Font
Attribute Font.VB_Description = "返回一個 Font 對象。"
Attribute Font.VB_UserMemId = -512
    Set Font = Combo1.Font
End Property

Public Property Set Font(ByVal New_Font As Font)
    Set Combo1.Font = New_Font
    Set LB1.Font = Combo1.Font
    Set Text1.Font = Combo1.Font
    UserControl_Resize
    PropertyChanged "Font"
End Property

'注意!不要刪除或修改下列被注釋的行!
'MappingInfo=Combo1,Combo1,-1,ForeColor
Public Property Get ForeColor() As OLE_COLOR
Attribute ForeColor.VB_Description = "返回/設置對象中文本和圖形的前景色。"
    ForeColor = Combo1.ForeColor
End Property

Public Property Let ForeColor(ByVal New_ForeColor As OLE_COLOR)
    Combo1.ForeColor() = New_ForeColor
    LB1.ForeColor = New_ForeColor
    Text1.ForeColor = New_ForeColor
    PropertyChanged "ForeColor"
End Property

'背景顏色呢
Public Property Get BackColor() As OLE_COLOR
    BackColor = Combo1.BackColor
End Property

Public Property Let BackColor(ByVal New_BackColor As OLE_COLOR)
    Combo1.BackColor() = New_BackColor
    LB1.BackColor = New_BackColor
    Text1.BackColor = New_BackColor
    SetIt
    PropertyChanged "BackColor"
End Property

'''''''''''''
Public Property Get EnabledText() As Boolean
     EnabledText = Text1.Visible
End Property

Public Property Let EnabledText(ByVal New_EnabledText As Boolean)
    EText = New_EnabledText
    Text1.Visible = New_EnabledText
    PropertyChanged "EnabledText"
End Property

'注意!不要刪除或修改下列被注釋的行!
'MappingInfo=Combo1,Combo1,-1,Text
Public Property Get Text() As String
Attribute Text.VB_Description = "返回/設置控件中包含的文本。"
    If Text1.Visible = True Then
        Text = Text1
    Else
        Text = LB1.Caption
    End If
End Property

Public Property Let Text(ByVal New_Text As String)
    Text1 = New_Text
    Combo1.Text = New_Text
    PrintText
    PropertyChanged "Text"
End Property

'注意!不要刪除或修改下列被注釋的行!
'MappingInfo=Combo1,Combo1,-1,List
Public Property Get List(ByVal Index As Integer) As String
Attribute List.VB_Description = "返回/設置控件的列表部分中包含的項。"
    List = Combo1.List(Index)
End Property

Public Property Let List(ByVal Index As Integer, ByVal New_List As String)
    Combo1.List(Index) = New_List
    PropertyChanged "List"
End Property

'注意!不要刪除或修改下列被注釋的行!
'MappingInfo=Combo1,Combo1,-1,ListCount
Public Property Get ListCount() As Integer
Attribute ListCount.VB_Description = "返回控件的列表部分中的項目數。"
    ListCount = Combo1.ListCount
End Property

'注意!不要刪除或修改下列被注釋的行!
'MappingInfo=Combo1,Combo1,-1,ListIndex
Public Property Get ListIndex() As Integer
Attribute ListIndex.VB_Description = "返回/設置該控件中當前選定項目的索引。"
    ListIndex = Combo1.ListIndex
End Property

Public Property Let ListIndex(ByVal New_ListIndex As Integer)
On Error GoTo aaaa
    Combo1.ListIndex() = New_ListIndex

    PropertyChanged "ListIndex"
aaaa:
End Property

Public Sub SetF()
On Error Resume Next
    Text1.SetFocus
End Sub

Public Property Get Enabled() As Boolean
    Enabled = UserControl.Enabled
End Property

Public Property Let Enabled(ByVal New_Enabled As Boolean)
    UserControl.Enabled() = New_Enabled
    PropertyChanged "Enabled"
End Property


Private Sub PrintText()
On Error Resume Next
    LB1.Caption = Text1.Text
    LB1.Top = (P1.Height - LB1.Height) / 2
    Text1.Top = (P1.Height - Text1.Height) / 2
    If LB1.Width > P1.Width - 300 Then LB1.Width = P1.Width - 300
End Sub


Private Sub Combo1_LostFocus()
    SetIt
End Sub

Private Sub LB1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
P1_MouseDown Button, Shift, x, y
End Sub



Private Sub LB1_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
P1_MouseUp Button, Shift, x, y
End Sub


Private Sub P1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
On Error Resume Next

IfMove = False
If Button = 1 Then
    xx = P1.Width - 15 - 225
    If x < xx Then Exit Sub
    P1.Line (xx - 15, 20)-(xx + 210, P1.Height - 30), 11899525, BF
    P1.PaintPicture Image1.Picture, xx - 15 + (230 - 105) / 2, (P1.Height - 60) / 2, 105, 60, 0, 0, 105, 60
End If

End Sub

Private Sub P1_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
On Error Resume Next

Dim MouseOver As Boolean
    '判斷當前鼠標位置是否在控件上
MouseOver = (0 <= x) And (x <= P1.Width) And (0 <= y) And (y <= P1.Height)
If MouseOver Then
If IfMove = True Then Exit Sub
IfMove = True
SetIt2
SetCapture P1.hwnd
Else
IfMove = False
SetIt
ReleaseCapture
End If
End Sub

Private Sub SetIt2()
On Error Resume Next

P1.Line (0, 0)-(P1.Width - 15, P1.Height - 15), 6956042, B
'
xx = P1.Width - 30 - 225
P1.Line (xx - 15, 15)-(xx - 15, P1.Height - 30), 6956042, B
P1.Line (xx, 20)-(xx + 225, P1.Height - 30), 13811126, BF
P1.PaintPicture Image1.Picture, xx + (230 - 105) / 2, (P1.Height - 60) / 2, 105, 60, 0, 0, 105, 60

End Sub


Private Sub P1_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
On Error Resume Next
    IfMove = False
    SetIt2
    If Button = 1 Then
        If Text1.Visible = True And x < P1.Width - 300 Then
            Text1.SetFocus
        Else
            RaiseEvent Expand
            Combo1.SetFocus
            SendMessage Combo1.hwnd, CB_SHOWDROPDOWN, True, ByVal 0&
        End If
    End If
End Sub


Private Sub Text1_Change()
If Text1.Visible = True Then RaiseEvent Change
End Sub

Private Sub Text1_GotFocus()
Text1.SelLength = 1
Text1.SelLength = Len(Text1)
End Sub



Private Sub UserControl_Initialize()
    LB1.Top = (P1.Height - LB1.Height) / 21
    Text1.Top = (P1.Height - Text1.Height) / 21
End Sub

Public Sub SelAll()
    With Text1
        .SelStart = 0
        .SelLength = Len(.Text)
    End With
End Sub

'從存貯器中加載屬性值
Public Sub UserControl_ReadProperties(PropBag As PropertyBag)
On Error Resume Next
Dim Index As Integer

    Set Combo1.Font = PropBag.ReadProperty("Font", Ambient.Font)
    Combo1.ForeColor = PropBag.ReadProperty("ForeColor", &H80000008)
    LB1.ForeColor = Combo1.ForeColor
    Text1.ForeColor = Combo1.ForeColor
    Combo1.BackColor = PropBag.ReadProperty("BackColor", &H80000005)
    Text1.BackColor = Combo1.BackColor
    SetIt
    Combo1.ListIndex = PropBag.ReadProperty("ListIndex", 0)
    Text1.Visible = PropBag.ReadProperty("EnabledText", True)
    EText = PropBag.ReadProperty("EnabledText", True)
    Line1.BorderColor = PropBag.ReadProperty("lineColor", &HFF)
End Sub

Private Sub UserControl_Resize()
On Error Resume Next

UserControl.Height = Combo1.Height + 10
P1.Height = Combo1.Height
Line1.X2 = UserControl.Width
If UserControl.Width < 390 Then UserControl.Width = 390
P1.Width = UserControl.Width
Combo1.Width = UserControl.Width
Text1.Width = UserControl.Width - 315
LB1.Top = (P1.Height - LB1.Height) / 2
Text1.Top = (P1.Height - Text1.Height) / 2
SetIt

End Sub

Public Sub SetCboWidth(ByVal cboWidth As Long)
    Combo1.Width = cboWidth
End Sub

Public Sub AddItem(Item, Optional Index)
On Error Resume Next

If IsMissing(Index) Then
Combo1.AddItem Item
Else
Combo1.AddItem Item, Index
End If
End Sub

Public Sub RemoveItem(Index)
Combo1.RemoveItem Index
End Sub

Public Sub SetIt()
On Error Resume Next

P1.Cls
P1.Line (0, 0)-(P1.Width - 15, P1.Height - 15), vbButtonFace, B
P1.Line (15, 15)-(P1.Width - 30, P1.Height - 30), Combo1.BackColor, BF
xx = P1.Width - 30 - 225
P1.Line (xx, 30)-(xx + 210, P1.Height - 45), vbButtonFace, BF
P1.PaintPicture Image1.Picture, xx + (230 - 105) / 2, (P1.Height - 60) / 2, 105, 60, 0, 0, 105, 60
End Sub

'將屬性值寫到存儲器
Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
On Error Resume Next

Dim Index As Integer
    Call PropBag.WriteProperty("Font", Combo1.Font, Ambient.Font)
    Call PropBag.WriteProperty("ForeColor", Combo1.ForeColor, &H80000008)
    Call PropBag.WriteProperty("BackColor", Combo1.BackColor, &H80000005)
    Call PropBag.WriteProperty("Text", Combo1.Text, "Combo1")
    Call PropBag.WriteProperty("EnabledText", EText, True)
    Call PropBag.WriteProperty("ListIndex", Combo1.ListIndex, 0)
    Call PropBag.WriteProperty("lineColor", Line1.BorderColor, &HFF)

End Sub

Public Sub Clear()
    Combo1.Clear
    Text1 = ""
    LB1.Caption = ""
End Sub
Public Property Get lineColor() As OLE_COLOR '在屬性欄里顯示該屬性
    lineColor = Line1.BorderColor
End Property

Public Property Let lineColor(ByVal New_lineColor As OLE_COLOR)
    Line1.BorderColor = New_lineColor
    PropertyChanged "lineColor"
End Property

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99热在这里有精品免费| 久久精品综合网| 国产清纯白嫩初高生在线观看91| 亚洲欧美日韩一区| 久久精品国产在热久久| 97精品国产97久久久久久久久久久久| 国产激情一区二区三区桃花岛亚洲| 一区二区欧美视频| 久久久欧美精品sm网站 | 懂色av一区二区夜夜嗨| 在线播放/欧美激情| 国产精品久久二区二区| 日韩av不卡一区二区| 91在线丨porny丨国产| 欧美岛国在线观看| 亚洲国产视频在线| 色狠狠av一区二区三区| 国产喂奶挤奶一区二区三区| 午夜精品久久久久久| 午夜视频一区在线观看| 国产精品久久久久天堂| 国内精品视频666| 91精品中文字幕一区二区三区| 亚洲黄色小视频| bt7086福利一区国产| 国产人伦精品一区二区| 国产一二三精品| 欧美v国产在线一区二区三区| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美日韩视频在线观看一区二区三区 | 丁香婷婷综合色啪| 久久久久成人黄色影片| 国产伦精品一区二区三区视频青涩| 日韩一区二区三区免费观看| 午夜精品久久一牛影视| 7777精品伊人久久久大香线蕉完整版 | 国内精品久久久久影院薰衣草 | 欧洲一区二区三区在线| 亚洲欧美偷拍三级| 日本韩国欧美三级| 午夜视频在线观看一区二区三区 | 久久婷婷国产综合国色天香| 精品在线视频一区| 国产女主播视频一区二区| 成人av网址在线观看| 亚洲精品久久久久久国产精华液| 91久久精品日日躁夜夜躁欧美| 亚洲国产wwwccc36天堂| 欧美麻豆精品久久久久久| 久久精品久久久精品美女| 久久久777精品电影网影网| 成人精品免费网站| 亚洲裸体xxx| 欧美一区二区三区在线电影| 国产在线精品一区二区夜色| 欧美国产欧美综合| 一本高清dvd不卡在线观看| 丝袜美腿亚洲一区| 久久久久九九视频| 91视频国产观看| 男人的j进女人的j一区| 国产色一区二区| 欧美日韩成人一区二区| 精品无人区卡一卡二卡三乱码免费卡| 久久先锋影音av| 欧美午夜精品一区二区三区| 久久精品国产久精国产爱| 国产精品伦理一区二区| 欧美日韩大陆在线| av在线播放不卡| 天天影视涩香欲综合网| 久久久精品国产免费观看同学| 97se亚洲国产综合自在线| 美日韩一区二区| 亚洲免费av在线| 久久久久免费观看| 欧美亚洲动漫另类| 国产91综合一区在线观看| 午夜欧美大尺度福利影院在线看| 欧美激情中文字幕| 6080国产精品一区二区| 大白屁股一区二区视频| 午夜av一区二区三区| 日本一区二区成人在线| 日韩精品中文字幕在线一区| 色婷婷av一区| 国产麻豆精品95视频| 午夜久久久久久电影| 国产精品福利一区| 精品久久久久久久久久久久久久久久久 | 婷婷丁香久久五月婷婷| 国产精品夫妻自拍| 国产亚洲欧美日韩俺去了| 日韩欧美综合在线| 欧美伊人精品成人久久综合97| 国产91精品露脸国语对白| 美女视频一区二区三区| 午夜精品一区二区三区电影天堂| 中文字幕一区二区不卡| 久久久精品影视| 日韩欧美国产三级| 欧美日本国产视频| 色视频成人在线观看免| 成人av在线网站| 91精品婷婷国产综合久久竹菊| 蜜桃视频在线观看一区二区| 亚洲视频1区2区| 国产精品天天看| 久久久久久久久99精品| 欧美一区二区免费| 日韩一区二区三区电影| 欧美一区二区三区在线观看| 欧美久久高跟鞋激| 欧美猛男超大videosgay| 欧美精品少妇一区二区三区| 91丝袜国产在线播放| 91小视频免费观看| 99re在线精品| 91色.com| 99riav久久精品riav| 国产午夜精品久久久久久久 | 一区二区三区精品| 中文字幕中文字幕一区二区| 欧美韩国一区二区| ...av二区三区久久精品| 中文av一区二区| 国产精品白丝在线| 亚洲自拍偷拍av| 青草av.久久免费一区| 美女视频一区二区三区| 国产麻豆精品久久一二三| 国产v综合v亚洲欧| 91免费版pro下载短视频| 91精品福利在线| 欧美一区二区三区免费大片| 精品国产乱码久久久久久图片| 国产无人区一区二区三区| √…a在线天堂一区| 亚洲成人精品一区二区| 久久av老司机精品网站导航| 国产成人亚洲精品青草天美| 91美女精品福利| 3751色影院一区二区三区| 亚洲精品在线电影| 亚洲色图丝袜美腿| 免费成人在线观看视频| 高清在线不卡av| 欧美日韩国产系列| 久久亚洲综合色| 亚洲激情在线激情| 六月丁香婷婷色狠狠久久| www.欧美精品一二区| 欧美日韩美女一区二区| 久久久精品免费网站| 午夜伦理一区二区| 成人app网站| 日韩精品一区二区三区swag | 一本大道综合伊人精品热热| 91精品免费在线| 国产精品成人免费在线| 日韩国产欧美三级| 成人av网站在线观看免费| 欧美精品自拍偷拍动漫精品| 国产蜜臀97一区二区三区| 日韩一区精品字幕| 99久久久久久| 日韩亚洲欧美在线观看| 亚洲激情校园春色| 国产精品亚洲一区二区三区在线| 欧美日韩一区二区三区四区 | 91免费国产视频网站| 日韩美女在线视频| 亚洲国产成人va在线观看天堂| 国产精品1区二区.| 精品国产一区二区三区久久影院 | 亚洲激情一二三区| 成人一区二区三区视频在线观看 | 成人晚上爱看视频| 日韩一级免费一区| 夜夜操天天操亚洲| aaa亚洲精品| 欧美精品一区二区三区高清aⅴ | 日韩视频一区二区| 亚洲二区视频在线| 91论坛在线播放| 国产精品久久久久久久久搜平片| 久久精品国产99| 日韩一区二区三区四区五区六区| 亚洲综合成人在线| 色88888久久久久久影院野外| 中文字幕国产精品一区二区| 国产成人a级片| 国产婷婷色一区二区三区在线| 国产自产2019最新不卡| www国产精品av| 久久99国产精品久久| 精品噜噜噜噜久久久久久久久试看| 日韩**一区毛片| 精品国产免费一区二区三区香蕉 | 天堂va蜜桃一区二区三区漫画版|