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

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

?? xpbutton.ctl

?? 超市管理系統
?? CTL
?? 第 1 頁 / 共 5 頁
字號:
End Property

Public Property Get ButtonStyle() As BackStyleConstants
ButtonStyle = myProps.bBackStyle
End Property
Public Property Let Mode(nMode As ButtonModeConstants)
Attribute Mode.VB_Description = "Command button, check box or option button mode"

' Sets the button function/mode

If nMode < lv_CommandButton Or nMode > lv_OptionButton Then Exit Property
If myProps.bMode = lv_OptionButton Then
    ' option buttons. Need to remove references if the Mode changed
    If nMode < lv_OptionButton Then Call ToggleOptionButtons(-1)
End If
If myProps.bMode < lv_OptionButton And nMode = lv_OptionButton Then
    Call ToggleOptionButtons(1) ' add this instance to optionbutton collection
End If
If nMode = lv_CommandButton And myProps.bMode > lv_CommandButton Then Me.value = False
myProps.bMode = nMode
Refresh
PropertyChanged "Mode"
End Property
Public Property Get Mode() As ButtonModeConstants
Mode = myProps.bMode
End Property

Public Property Let value(bValue As Boolean)

' For option button & check box modes

If myProps.bMode = lv_CommandButton And bValue = True Then
    ' TRUE values for command buttons not allowed
    If Not UserControl.Ambient.UserMode Then
        MsgBox "This property is not applicable for command button modes.", vbInformation + vbOKOnly
    End If
    Exit Property
End If
myProps.bValue = bValue
' if optionbutton now true, need to toggle the other options buttons off
If bValue And myProps.bMode = lv_OptionButton Then Call ToggleOptionButtons(0)
Refresh
PropertyChanged "Value"
End Property
Public Property Get value() As Boolean
Attribute value.VB_Description = "Applicable to only check box or option button modes: True or False"
Attribute value.VB_UserMemId = 0
value = myProps.bValue
End Property

Public Property Let caption(sCaption As String)
Attribute caption.VB_Description = "The caption of the button. Double pipe (||) is a line break."
Attribute caption.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"
Attribute caption.VB_UserMemId = -518
Attribute caption.VB_MemberFlags = "200"

' Sets the button caption & hot key for the control

Dim i As Integer, j As Integer
' We look from right to left. VB uses this logic & so do I
i = InStrRev(sCaption, "&")
Do While i
    If MID$(sCaption, i, 2) = "&&" Then
        i = InStrRev(i - 1, sCaption, "&")
    Else
        j = i + 1: i = 0
    End If
Loop
' if found, we use the next character as a hot key
If j Then AccessKeys = MID$(sCaption, j, 1)
myProps.bCaption = sCaption                         ' cache the caption
CalculateBoundingRects 0, True                      ' recalculate button text/image bounding rects
Refresh
PropertyChanged "Caption"
End Property
Public Property Get caption() As String
caption = myProps.bCaption
End Property

Public Property Let CaptionAlign(nAlign As AlignmentConstants)
Attribute CaptionAlign.VB_Description = "Horizontal alignment of caption on the button."
Attribute CaptionAlign.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Caption options: Left, Right or Center Justified

If nAlign < vbLeftJustify Or nAlign > vbCenter Then Exit Property
If myImage.Align > lv_RightOfCaption And nAlign < vbCenter And (myImage.SourceSize.x + myImage.SourceSize.y) > 0 Then
    ' also prevent left/right justifying captions when image is centered in caption
    If UserControl.Ambient.UserMode = False Then
        ' if not in user mode, then explain whey it is prevented
        MsgBox "When button images are aligned top/bottom center, " & vbCrLf & "button captions can only be center aligned", vbOKOnly + vbInformation
    End If
    Exit Property
End If
myProps.bCaptionAlign = nAlign
CalculateBoundingRects 0, True                  ' recalculate text/image bounding rects
Refresh
PropertyChanged "CapAlign"
End Property
Public Property Get CaptionAlign() As AlignmentConstants
CaptionAlign = myProps.bCaptionAlign
End Property

Public Property Let CaptionStyle(nStyle As CaptionEffectConstants)
Attribute CaptionStyle.VB_Description = "Flat, Embossed or Engraved effects"

' Sets the style, raised/sunken or flat (default)

If nStyle < lv_default Or nStyle > lv_Raised Then Exit Property
myProps.bCaptionStyle = nStyle
PropertyChanged "CapStyle"
If Len(myProps.bCaption) Then
    CalculateBoundingRects 0, True
    Refresh
End If
End Property
Public Property Get CaptionStyle() As CaptionEffectConstants
CaptionStyle = myProps.bCaptionStyle
End Property

Public Property Let ButtonShape(nShape As ButtonStyleConstants)
Attribute ButtonShape.VB_Description = "Rectangular or various diagonal shapes"
Attribute ButtonShape.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Sets the button's shape (rectangular, diagonal, or circular)

If nShape < lv_Rectangular Or nShape > lv_RoundFlat Then Exit Property
myProps.bShape = nShape
If nShape = lv_FullDiagonal Then
    If myProps.bCaptionAlign <> vbCenter Then myProps.bCaptionAlign = vbCenter
End If
bNoRefresh = False
Call UserControl_Resize
myProps.bCaptionAlign = Me.CaptionAlign
PropertyChanged "Shape"
End Property
Public Property Get ButtonShape() As ButtonStyleConstants
ButtonShape = myProps.bShape
End Property

Public Property Set Picture(xPic As StdPicture)
Attribute Picture.VB_Description = "The image used to display on the button."

' Sets the button image which to display

Set myImage.Image = xPic
If myImage.Size = 0 Then myImage.Size = 16
GetGDIMetrics "Picture"
CalculateBoundingRects 0, True              ' recalculate button's text/image bounding rects
Refresh
PropertyChanged "Image"
End Property
Public Property Get Picture() As StdPicture
Set Picture = myImage.Image
End Property

Public Property Let PictureAlign(ImgAlign As ImagePlacementConstants)
Attribute PictureAlign.VB_Description = "Alignment of the button image in relation to the caption and/or button."

' Image alignment options for button (6 different positions)

If ImgAlign < lv_LeftEdge Or ImgAlign > lv_BottomCenter Then Exit Property
myImage.Align = ImgAlign
If ImgAlign = lv_BottomCenter Or ImgAlign = lv_TopCenter Then CaptionAlign = vbCenter
CalculateBoundingRects 0, True          ' recalculate button's text/image bounding rects
Refresh
PropertyChanged "ImgAlign"
End Property
Public Property Get PictureAlign() As ImagePlacementConstants
PictureAlign = myImage.Align
End Property

Public Property Let Enabled(bEnabled As Boolean)
Attribute Enabled.VB_Description = "Determines if events are fired for this button."
Attribute Enabled.VB_ProcData.VB_Invoke_PropertyPut = ";Behavior"
Attribute Enabled.VB_UserMemId = -514

' Enables or disables the button

If bEnabled = UserControl.Enabled Then Exit Property
UserControl.Enabled = bEnabled
If myProps.bBackStyle = 3 And myProps.bMode = lv_CommandButton Then
    ' java disabled seems to not have the lower-left/upper-right pixels transparent
    DelayDrawing True
    CreateButtonRegion
    CalculateBoundingRects 0, True
    DelayDrawing False
Else
    Refresh
End If
PropertyChanged "Enabled"
End Property
Public Property Get Enabled() As Boolean
Enabled = UserControl.Enabled
End Property

Public Property Let ShowFocusRect(bShow As Boolean)
Attribute ShowFocusRect.VB_Description = "Allows or prevents a focus rectangle from being displayed. In design mode, this may always be displayed for button set as Default."
Attribute ShowFocusRect.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Shows/hides the focus rectangle when button comes into focus

myProps.bShowFocus = bShow
If ((myProps.bStatus And 1) = 1) Then
    ' if currently has the focus, then we take it off
    If Ambient.UserMode Then
        myProps.bStatus = myProps.bStatus And Not 1
        Refresh
    Else
        ' however, we don't if it is the default button
        MsgBox "The focus rectangle may appear on default buttons ONLY while in design mode, " & vbCrLf & _
            "but will not appear when the form is running.", vbInformation + vbOKOnly
    End If
Else
    Refresh
End If
PropertyChanged "Focus"
End Property
Public Property Get ShowFocusRect() As Boolean
ShowFocusRect = myProps.bShowFocus
End Property

Public Property Let PictureSize(nSize As ImageSizeConstants)
Attribute PictureSize.VB_Description = "Size of button image. Last two options automatically center image."

' Sets up to 5 picture sizes

If PictureSize < lv_16x16 Or PictureSize > lv_Fill_ScaleUpDown Then Exit Property
myImage.Size = (nSize + 2) * 8      ' I just want the pixel size
CalculateBoundingRects 0, True      ' recalculate text/image bounding rects
Refresh
PropertyChanged "ImgSize"
End Property
Public Property Get PictureSize() As ImageSizeConstants
If myImage.Size = 0 Then myImage.Size = 16
' parameters are 0,1,2,3,4 & 5, but we store them as 16,24,32,40, & 44
PictureSize = Choose(myImage.Size / 8 - 1, lv_16x16, lv_24x24, lv_32x32, lv_Fill_Stretch, lv_Fill_ScaleUpDown)
End Property

Public Property Let MousePointer(nPointer As MousePointerConstants)
Attribute MousePointer.VB_Description = "Various optional mouse pointers to use when mouse is over the button"

' Sets the mouse pointer for the button

UserControl.MousePointer = nPointer
PropertyChanged "mPointer"
End Property
Public Property Get MousePointer() As MousePointerConstants
MousePointer = UserControl.MousePointer
End Property

Public Property Set MouseIcon(nIcon As StdPicture)
Attribute MouseIcon.VB_Description = "Icon or cursor used to display when mouse is over the button. MousePointer must be set to Custom."

' Sets the mouse icon for the button, MousePointer must be vbCustom

On Error GoTo ShowPropertyError
Set UserControl.MouseIcon = nIcon
If Not nIcon Is Nothing Then
    Me.MousePointer = vbCustom
    PropertyChanged "mIcon"
End If
Exit Property
ShowPropertyError:
If Ambient.UserMode = False Then MsgBox Err.Description, vbInformation + vbOKOnly, "Select .ico Or .cur Files Only"
End Property
Public Property Get MouseIcon() As StdPicture
Set MouseIcon = UserControl.MouseIcon
End Property

Public Property Set Font(nFont As StdFont)
Attribute Font.VB_Description = "Font used to display the caption."
Attribute Font.VB_ProcData.VB_Invoke_PropertyPutRef = ";Font"

' Sets the control's font & also the logical font to use on off-screen DC

Set UserControl.Font = nFont
GetGDIMetrics "Font"
CalculateBoundingRects 0, (Me.FontStyle > -1)    ' recalculate caption's text/image bounding rects
Refresh

PropertyChanged "Font"
End Property
Public Property Get Font() As StdFont
Set Font = UserControl.Font
End Property

Public Property Let FontStyle(nStyle As FontStyles)

' Allows direct changes to font attributes

With UserControl.Font
    .Bold = ((nStyle And lv_Bold) = lv_Bold)
    .Italic = ((nStyle And lv_Italic) = lv_Italic)
    .Underline = ((nStyle And lv_Underline) = lv_Underline)
End With
GetGDIMetrics "Font"
CalculateBoundingRects 0, True
PropertyChanged "Font"
Refresh
End Property
Public Property Get FontStyle() As FontStyles
Attribute FontStyle.VB_Description = "Various font attributes that can be changed directly."
Dim nStyle As Integer
nStyle = nStyle Or Abs(UserControl.Font.Bold) * 2
nStyle = nStyle Or Abs(UserControl.Font.Italic) * 4
nStyle = nStyle Or Abs(UserControl.Font.Underline) * 8
FontStyle = nStyle
End Property

Public Property Let ForeColor(nColor As OLE_COLOR)
Attribute ForeColor.VB_Description = "The color of the caption's font ."
Attribute ForeColor.VB_ProcData.VB_Invoke_PropertyPut = ";Appearance"

' Sets the caption text color

If nColor = UserControl.ForeColor Then Exit Property

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜电影在线观看| 成人黄色777网| 国产欧美一区二区在线观看| 99re热视频精品| 日韩精品电影一区亚洲| 日本一区二区三区电影| 7777女厕盗摄久久久| 菠萝蜜视频在线观看一区| 久久精品国产亚洲一区二区三区| 亚洲欧洲av色图| 精品久久久久99| 国产精品你懂的在线欣赏| 色婷婷综合久久久中文一区二区| 国产精品久久99| 91香蕉视频在线| 亚洲综合视频在线| 欧美日韩视频在线观看一区二区三区 | 岛国av在线一区| 成人免费va视频| 中文字幕欧美日本乱码一线二线 | 99精品视频在线免费观看| 天天操天天色综合| 综合久久给合久久狠狠狠97色 | 日本亚洲视频在线| 欧美日韩精品一二三区| 精品无人码麻豆乱码1区2区 | 91丨porny丨国产入口| www亚洲一区| av亚洲精华国产精华| 一区二区三区日本| 91精品国产欧美一区二区18| 蜜桃av噜噜一区二区三区小说| 久久久不卡影院| 99精品国产99久久久久久白柏 | jvid福利写真一区二区三区| 午夜久久久久久久久| 99在线精品视频| 日韩亚洲欧美成人一区| 国产精品99久久久| 一区在线观看免费| 国产调教视频一区| 亚洲欧美日本韩国| 亚洲国产成人私人影院tom| 欧美亚洲综合另类| 色欧美片视频在线观看在线视频| 成人app网站| 成人av网在线| av在线播放成人| 91一区二区三区在线观看| 成人h精品动漫一区二区三区| 成人午夜免费av| 精品一区精品二区高清| 亚洲色大成网站www久久九九| 精品国产乱码久久久久久闺蜜| 欧美在线观看18| 国产精品1区2区| 久久国产欧美日韩精品| 精品久久久久99| 日韩一区二区在线看片| 欧美美女直播网站| 日韩午夜激情视频| 亚洲最快最全在线视频| 欧美老人xxxx18| 884aa四虎影成人精品一区| 日韩三级视频中文字幕| 欧美日韩成人在线| 91精品国产91久久久久久一区二区| 日韩亚洲欧美高清| 欧美国产亚洲另类动漫| 自拍偷拍欧美激情| 亚洲色图在线视频| 亚洲国产成人av网| 午夜激情一区二区三区| 日日夜夜精品视频天天综合网| 自拍视频在线观看一区二区| 午夜精品一区二区三区免费视频 | 亚洲激情在线播放| 亚洲免费在线看| 亚洲最大成人网4388xx| 亚洲免费在线观看视频| 亚洲伊人伊色伊影伊综合网| 日本不卡123| 国产成人亚洲综合a∨猫咪| 91首页免费视频| 91精品婷婷国产综合久久竹菊| 欧美日韩一区高清| 美女久久久精品| 国产在线观看一区二区| 91美女在线视频| 日韩一区二区三区高清免费看看| 国产农村妇女毛片精品久久麻豆| 亚洲精品国产视频| 亚洲精品一区二区三区在线观看| 国产色爱av资源综合区| 一区二区三区自拍| 国产精品综合二区| 欧美乱妇一区二区三区不卡视频| 欧美成人精品福利| 一区二区三区高清在线| 国产精品99久久久久久久vr| 91精品在线观看入口| 亚洲精品久久7777| 波多野结衣的一区二区三区| 日韩小视频在线观看专区| 亚洲图片欧美一区| 国产精品1区2区3区| 欧美www视频| 麻豆精品国产传媒mv男同| 欧美三级蜜桃2在线观看| 成人免费在线播放视频| 国产伦精品一区二区三区视频青涩 | 亚洲欧洲av色图| 精品在线观看视频| 国产精品久久久久影院老司| 麻豆精品视频在线观看视频| 日韩你懂的电影在线观看| 亚洲丝袜精品丝袜在线| 国产精品一区二区无线| 欧美一级欧美一级在线播放| 亚洲午夜久久久久久久久电影院 | 中文字幕亚洲成人| 国产a视频精品免费观看| 精品日韩欧美在线| 国产一区视频在线看| 91精品在线观看入口| 看电影不卡的网站| 久久精品视频在线免费观看| 国产美女精品人人做人人爽| 欧美在线观看视频在线| 国产精品一区二区久久不卡 | 亚洲香蕉伊在人在线观| 成人视屏免费看| 久久伊人蜜桃av一区二区| 麻豆91精品视频| 日韩欧美卡一卡二| 日韩一区精品视频| 欧美巨大另类极品videosbest| 亚洲主播在线播放| 在线一区二区三区四区五区| 综合av第一页| 91麻豆精东视频| 亚洲精品中文在线| 一本色道亚洲精品aⅴ| 亚洲精品高清视频在线观看| 色综合久久99| 一区二区三区不卡在线观看| 欧美亚洲一区二区在线| 午夜精品福利视频网站| 在线电影欧美成精品| 美腿丝袜亚洲三区| 不卡在线观看av| 麻豆久久久久久久| 青娱乐精品视频在线| 国产拍欧美日韩视频二区| 国产在线精品一区二区| 亚洲欧美日韩电影| 中文字幕av一区二区三区免费看| 欧美三区在线视频| 国产成人亚洲综合色影视| 日本vs亚洲vs韩国一区三区| 91精品国产综合久久精品麻豆| 色综合天天综合| 成人综合婷婷国产精品久久免费| 色爱区综合激月婷婷| 亚欧色一区w666天堂| 91精品国产综合久久精品性色| 久久激情五月婷婷| 国产精品久久久久天堂| 91久久精品午夜一区二区| 亚洲福利一二三区| 26uuu国产电影一区二区| 精品久久久久久久久久久久久久久 | 欧美网站大全在线观看| 波多野结衣视频一区| 北岛玲一区二区三区四区| 激情综合色丁香一区二区| 美女视频黄 久久| 另类调教123区| 国内精品伊人久久久久影院对白| 亚洲一二三四区| 午夜精品福利久久久| a美女胸又www黄视频久久| 成人综合婷婷国产精品久久免费| 国产乱子伦视频一区二区三区 | 亚洲123区在线观看| 亚洲视频小说图片| 亚洲最新视频在线播放| 成人激情免费视频| 亚洲一区二区三区激情| 色综合天天在线| 成人精品一区二区三区四区| 亚洲精品老司机| 精品美女一区二区三区| 91在线porny国产在线看| 精油按摩中文字幕久久| 亚洲视频一区在线| 日韩欧美国产一区二区三区| 色综合中文字幕国产| 韩国av一区二区三区在线观看| 亚洲精品国产a久久久久久|