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

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

?? fatcombo.ctl

?? 超市銷售管理系統 4) 文檔里面有完整的需求說明書
?? CTL
字號:
VERSION 5.00
Begin VB.UserControl FCombo 
   ClientHeight    =   390
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   1785
   ScaleHeight     =   390
   ScaleWidth      =   1785
   Begin VB.PictureBox P1 
      AutoRedraw      =   -1  'True
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BorderStyle     =   0  'None
      Height          =   375
      Left            =   0
      ScaleHeight     =   375
      ScaleWidth      =   1695
      TabIndex        =   2
      TabStop         =   0   'False
      Top             =   0
      Width           =   1695
      Begin VB.TextBox Text1 
         BackColor       =   &H00FFFFFF&
         BorderStyle     =   0  'None
         Height          =   180
         Left            =   45
         TabIndex        =   3
         Top             =   30
         Width           =   135
      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
      ItemData        =   "FatCombo.ctx":0000
      Left            =   0
      List            =   "FatCombo.ctx":0002
      TabIndex        =   1
      TabStop         =   0   'False
      Text            =   "Combo1"
      Top             =   0
      Width           =   1575
   End
   Begin VB.Image Image1 
      Height          =   60
      Left            =   2280
      Picture         =   "FatCombo.ctx":0004
      Top             =   2520
      Visible         =   0   'False
      Width           =   105
   End
End
Attribute VB_Name = "FCombo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False

'超市銷售系統
'程序開發:lc_mtt
'CSDN博客:http://blog.csdn.net/lc_mtt/
'個人主頁:http://www.3lsoft.com
'郵箱:3lsoft@163.com
'注:此代碼禁止用于商業用途。有修改者發我一份,謝謝!
'---------------- 開源世界,你我更進步 ----------------

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) / 2
    Text1.Top = (P1.Height - Text1.Height) / 2
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)
End Sub

Private Sub UserControl_Resize()
On Error Resume Next

UserControl.Height = Combo1.Height
P1.Height = Combo1.Height

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)

End Sub

Public Sub Clear()
    Combo1.Clear
    Text1 = ""
    LB1.caption = ""
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产v综合v亚洲欧| 欧美视频日韩视频| 在线观看视频欧美| 国产午夜精品福利| 一区二区免费看| 高清在线成人网| 91精品国产综合久久久久久久久久 | 99视频热这里只有精品免费| 91精品综合久久久久久| 国产精品的网站| 九九**精品视频免费播放| 欧美色男人天堂| **欧美大码日韩| 国产一区二区毛片| 欧美精品aⅴ在线视频| 亚洲精品成人a在线观看| 成人性色生活片| 2020国产精品| 久久99精品久久久久久动态图 | 欧美日韩国产精选| 综合分类小说区另类春色亚洲小说欧美| 另类欧美日韩国产在线| 9191久久久久久久久久久| 一个色综合网站| 一本到不卡精品视频在线观看| 国产嫩草影院久久久久| 99热国产精品| 成人欧美一区二区三区黑人麻豆 | 成人黄色网址在线观看| 精品99一区二区三区| 卡一卡二国产精品| 日韩欧美在线不卡| 毛片av中文字幕一区二区| 日韩女同互慰一区二区| 久久精品国产亚洲高清剧情介绍| 欧美大片顶级少妇| 狠狠v欧美v日韩v亚洲ⅴ| 精品日韩一区二区三区| 国产精品综合二区| 欧美国产综合色视频| www.日韩在线| 一区二区免费在线播放| 欧美日本乱大交xxxxx| 日韩福利视频导航| 精品盗摄一区二区三区| 成人性生交大片免费看中文| 一色桃子久久精品亚洲| 99国内精品久久| 午夜欧美大尺度福利影院在线看| 欧美一区二区三区系列电影| 美日韩黄色大片| 国产日韩欧美精品电影三级在线| 成人三级伦理片| 亚洲一区二区三区四区五区黄 | 国产日韩欧美电影| 99在线精品免费| 偷拍日韩校园综合在线| 久久久一区二区三区捆绑**| 成人黄色a**站在线观看| 一区二区三区视频在线看| 欧美一三区三区四区免费在线看| 国产真实乱子伦精品视频| 国产精品区一区二区三区| 色婷婷av久久久久久久| 蜜臀av在线播放一区二区三区| 欧美激情中文字幕一区二区| 在线观看视频91| 国产精品亚洲综合一区在线观看| 日韩久久一区二区| 日韩一二三四区| 91日韩在线专区| 久草中文综合在线| 亚洲乱码日产精品bd| 精品国产免费一区二区三区香蕉| 99久久精品国产精品久久| 亚洲福利一区二区| 欧美国产日韩精品免费观看| 欧美一区在线视频| 91亚洲永久精品| 国产在线麻豆精品观看| 亚洲曰韩产成在线| 国产日韩精品一区| 91精品欧美综合在线观看最新| 不卡一区二区三区四区| 精油按摩中文字幕久久| 亚洲国产日韩综合久久精品| 国产精品午夜在线观看| 日韩一区二区在线观看视频| 一本久久a久久免费精品不卡| 国产一区二区影院| 天堂精品中文字幕在线| 亚洲欧美在线观看| 久久综合五月天婷婷伊人| 欧美精品色一区二区三区| 99久久精品情趣| 粉嫩绯色av一区二区在线观看| 日韩国产欧美三级| 亚洲综合999| 亚洲欧美偷拍另类a∨色屁股| 久久精品一区二区三区不卡牛牛 | 精品一区二区三区免费播放| 亚洲一卡二卡三卡四卡无卡久久| 中文字幕在线观看不卡| 中文欧美字幕免费| 久久这里只精品最新地址| 538在线一区二区精品国产| 91久久线看在观草草青青| 丁香婷婷综合激情五月色| 韩国理伦片一区二区三区在线播放| 亚洲aaa精品| 日韩专区欧美专区| 亚洲第一成人在线| 无码av免费一区二区三区试看 | 在线成人av影院| 欧美视频一区二区三区| 欧美体内she精视频| 在线中文字幕不卡| 一本一本大道香蕉久在线精品| 91蜜桃免费观看视频| 在线视频一区二区三| 91久久人澡人人添人人爽欧美| 欧美在线视频不卡| 欧美另类videos死尸| 欧美一区二区网站| 日韩午夜在线观看视频| 2020国产精品久久精品美国| 精品精品国产高清a毛片牛牛| 欧美精品一区二区高清在线观看 | 欧美日产在线观看| 日韩小视频在线观看专区| 久久久三级国产网站| 中文字幕乱码久久午夜不卡| 中文字幕一区在线观看| 亚洲综合999| 美女视频网站久久| 国产成a人亚洲| 色婷婷狠狠综合| 欧美一区三区二区| 欧美激情一二三区| 亚洲综合丁香婷婷六月香| 免费观看在线色综合| 国产福利一区二区三区| 色美美综合视频| 欧美一级二级三级蜜桃| 中文字幕欧美区| 亚洲一卡二卡三卡四卡五卡| 久久er99精品| 日本福利一区二区| 2019国产精品| 亚洲永久免费视频| 韩国一区二区三区| 在线观看三级视频欧美| 久久天天做天天爱综合色| 亚洲嫩草精品久久| 极品美女销魂一区二区三区| caoporm超碰国产精品| 666欧美在线视频| 综合电影一区二区三区| 久久精品国产亚洲一区二区三区| 波多野洁衣一区| 日韩一区二区中文字幕| 最新国产の精品合集bt伙计| 免费成人在线视频观看| 9i看片成人免费高清| 精品国产一区二区在线观看| 亚洲一区影音先锋| 成人免费观看av| 欧美不卡一二三| 天天综合天天做天天综合| 成人白浆超碰人人人人| 精品av综合导航| 日本人妖一区二区| 欧美亚洲动漫制服丝袜| ...中文天堂在线一区| 国内外精品视频| 欧美一级电影网站| 亚洲一区二区四区蜜桃| 99在线热播精品免费| 久久精品视频网| 日本女人一区二区三区| 在线观看精品一区| 亚洲日本va午夜在线影院| 国产一区二区三区免费| 日韩一级欧美一级| 午夜国产精品影院在线观看| 欧美综合一区二区| 亚洲人成伊人成综合网小说| 国产91露脸合集magnet| 精品精品国产高清a毛片牛牛 | 三级在线观看一区二区| 欧美性视频一区二区三区| 亚洲免费观看高清在线观看| 99国产精品99久久久久久| 欧美国产一区二区| 岛国一区二区在线观看| 久久伊99综合婷婷久久伊| 国产一区视频网站| 亚洲精品在线三区| 国产精品一区2区| 国产亚洲一区二区三区四区|