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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xpbutton.ctl

?? 超市銷售管理系統(tǒng) 4) 文檔里面有完整的需求說明書
?? CTL
?? 第 1 頁 / 共 5 頁
字號:
CalculateBoundingRects 0, True     ' recalculate the text/image bounding rectangles
GetGDIMetrics "BackColor"          ' cache base colors
Refresh
PropertyChanged "BackStyle"
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"

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩高清在线| 欧美日韩国产成人在线免费| 亚洲欧美在线另类| 激情六月婷婷久久| 欧美精品1区2区3区| 亚洲成人在线免费| 欧美无乱码久久久免费午夜一区 | 欧美三级电影网站| 亚洲一区电影777| 欧美三级在线视频| 成人av网站在线| 久久精品视频免费| 成人免费福利片| 亚洲男帅同性gay1069| 91色porny| 亚洲不卡av一区二区三区| 国产精品久久久久久亚洲毛片| 成人涩涩免费视频| 国内精品视频666| 日本欧美一区二区三区乱码| 日韩欧美在线123| 精品一区二区三区在线观看国产| 国产日韩成人精品| 色呦呦日韩精品| 午夜视频一区二区三区| 久久午夜电影网| 99re成人精品视频| 日日夜夜精品免费视频| 国产拍欧美日韩视频二区| 久久久久一区二区三区四区| 色综合天天综合色综合av | 色综合中文字幕国产| 韩国视频一区二区| 久久成人麻豆午夜电影| 国产精品国产三级国产有无不卡| 久久夜色精品国产欧美乱极品| 日韩欧美一区二区三区在线| 不卡av免费在线观看| 波多野洁衣一区| 日韩制服丝袜av| 日韩成人免费在线| 日本视频一区二区三区| 天天色图综合网| 麻豆国产一区二区| 亚洲一区在线看| 亚洲第一主播视频| 日韩1区2区日韩1区2区| 麻豆精品在线播放| 国产99久久久国产精品潘金网站| 亚洲自拍都市欧美小说| 亚洲成人在线免费| 毛片不卡一区二区| 国产麻豆精品视频| 日韩av网站免费在线| 水野朝阳av一区二区三区| 美女国产一区二区| 国产乱码精品一区二区三区五月婷| 亚洲午夜在线电影| 亚洲欧美一区二区在线观看| 亚洲综合图片区| 丝袜美腿高跟呻吟高潮一区| 日本亚洲免费观看| 国产成人在线影院| 国产在线精品一区二区夜色 | 夫妻av一区二区| av成人免费在线观看| 欧美日韩视频专区在线播放| 精品少妇一区二区三区日产乱码| 在线观看日韩一区| 91丨porny丨首页| 欧美日产在线观看| 久久久久久久久久美女| 亚洲美女淫视频| 久久精品国产在热久久| 粉嫩蜜臀av国产精品网站| 欧美亚洲高清一区| 国产肉丝袜一区二区| 一区二区三区欧美日韩| 一区二区三区精品| 久久99国内精品| 91免费视频网| 精品国产91亚洲一区二区三区婷婷| 欧美一区二区三区精品| 欧美肥妇bbw| 欧美高清在线视频| 中国av一区二区三区| 国产精品午夜春色av| 日韩电影一二三区| av高清久久久| 日韩欧美一二区| 亚洲午夜久久久久久久久电影网| 国内精品写真在线观看| 欧美日韩国产123区| 国产精品乱码人人做人人爱| 琪琪久久久久日韩精品| 久久精品国产久精国产| 91视频你懂的| 久久亚洲春色中文字幕久久久| 亚洲综合视频网| 成人国产电影网| 日韩精品中文字幕在线一区| 亚洲另类色综合网站| 无吗不卡中文字幕| 成人av网站大全| 精品国产第一区二区三区观看体验| 亚洲制服欧美中文字幕中文字幕| 国产精品18久久久久久久久久久久| 欧美日韩精品一区二区三区| 亚洲视频一二区| 亚洲色图视频网站| 国产乱国产乱300精品| 日韩一区二区在线看片| 亚洲国产一区在线观看| a4yy欧美一区二区三区| 中文在线免费一区三区高中清不卡| 久久国产欧美日韩精品| 欧美日韩国产在线观看| 亚洲精品中文在线影院| 99久久er热在这里只有精品15| 国产亚洲一区二区三区四区| 麻豆国产精品官网| 欧美一区二区福利视频| 偷窥国产亚洲免费视频| 欧美亚洲综合另类| 亚洲另类在线一区| 99精品热视频| 成人欧美一区二区三区白人| 懂色av一区二区夜夜嗨| www国产亚洲精品久久麻豆| 狠狠色综合色综合网络| 欧美tk—视频vk| 九九精品一区二区| 久久伊人蜜桃av一区二区| 狠狠久久亚洲欧美| 久久精品一区蜜桃臀影院| 国产精品一区二区在线播放| 久久久不卡影院| 国产成人在线视频播放| 久久伊人中文字幕| 国产精品自拍在线| 国产精品精品国产色婷婷| 本田岬高潮一区二区三区| 136国产福利精品导航| 色综合中文综合网| 婷婷开心久久网| 91精品国产91热久久久做人人| 偷窥少妇高潮呻吟av久久免费| 欧美肥妇毛茸茸| 精品系列免费在线观看| 国产日韩欧美精品电影三级在线| 豆国产96在线|亚洲| 亚洲人成影院在线观看| 欧美在线影院一区二区| 日韩av电影免费观看高清完整版| 日韩一区二区电影在线| 国产成人a级片| 亚洲色图在线看| 91精品国产色综合久久ai换脸 | 精品国产乱码久久久久久浪潮| 狠狠色综合播放一区二区| 中文字幕精品一区| 欧美这里有精品| 精一区二区三区| 国产精品毛片大码女人| 精品1区2区3区| 九一久久久久久| 亚洲图片激情小说| 在线综合视频播放| 亚洲人成影院在线观看| 在线不卡的av| 国产成人午夜99999| 亚洲风情在线资源站| 精品福利在线导航| 91原创在线视频| 蜜桃视频在线一区| 最新高清无码专区| 欧美一区二区三区视频免费播放| 国产精品一级二级三级| 亚洲一区二区精品3399| 精品国产成人系列| 欧美在线高清视频| 国产精品一级片在线观看| 午夜视频在线观看一区| 国产精品美女久久久久久2018| 制服丝袜激情欧洲亚洲| 97se狠狠狠综合亚洲狠狠| 秋霞午夜av一区二区三区| 中文字幕亚洲综合久久菠萝蜜| 91精品久久久久久久久99蜜臂| av电影一区二区| 国产真实乱子伦精品视频| 亚洲国产成人av网| 国产精品午夜春色av| 欧美tk—视频vk| 欧美日韩国产综合一区二区| kk眼镜猥琐国模调教系列一区二区| 久久se这里有精品| 丝袜美腿亚洲色图| 一个色综合av| 亚洲欧洲日韩av|