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

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

?? xpbutton.ctl

?? 超市的管理與及時(shí)的維護(hù)
?? CTL
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):

' Sets the style of button to be displayed

If style < 0 Or style > 7 Then Exit Property
myProps.bBackStyle = style
CreateButtonRegion                 ' re-create the button shape
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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区你懂的| 91在线观看视频| 亚洲精品一二三| 精品国产乱码久久久久久闺蜜| 成人精品国产一区二区4080| 日韩精品一二区| 亚洲狼人国产精品| 国产精品无遮挡| 欧美本精品男人aⅴ天堂| 日本久久精品电影| 成人高清视频免费观看| 狠狠色伊人亚洲综合成人| 亚洲国产美女搞黄色| 国产精品免费网站在线观看| 日韩欧美高清在线| 欧美色图免费看| 色综合久久久久综合体桃花网| 国产一区二区三区在线观看免费视频| 午夜精品一区在线观看| 亚洲黄色录像片| 国产精品大尺度| 久久综合久久99| 欧美tickling挠脚心丨vk| 欧美日韩久久不卡| 在线观看一区二区视频| heyzo一本久久综合| 国产精品综合在线视频| 久久99精品网久久| 久久精品99国产精品日本| 亚洲福利视频一区二区| 一区二区三区四区在线| 一区二区三区国产| 亚洲制服丝袜av| 一区二区三区中文字幕精品精品 | 免费三级欧美电影| 亚洲午夜精品17c| 亚洲第一狼人社区| 亚洲电影第三页| 亚洲va天堂va国产va久| 亚洲mv在线观看| 美腿丝袜在线亚洲一区| 麻豆精品视频在线观看| 精品一区二区三区视频在线观看| 三级在线观看一区二区| 青娱乐精品视频| 久久国产视频网| 国产一区啦啦啦在线观看| 国产激情一区二区三区桃花岛亚洲| 国产一区视频在线看| 国产jizzjizz一区二区| 99久久综合狠狠综合久久| 91一区在线观看| 欧美特级限制片免费在线观看| 欧美麻豆精品久久久久久| 日韩精品在线一区二区| 国产日韩av一区| 欧美国产精品一区| 亚洲免费大片在线观看| 性欧美大战久久久久久久久| 久久精品国产在热久久| 国产精品一级在线| 成人黄色小视频在线观看| 91老司机福利 在线| 在线精品视频小说1| 日韩欧美激情四射| 亚洲国产精品高清| 亚洲午夜电影在线观看| 精品亚洲国内自在自线福利| 岛国av在线一区| 欧美综合色免费| 欧美videofree性高清杂交| 国产欧美一区在线| 亚洲永久免费视频| 久久99精品久久久久久国产越南 | 国产精品久久久久久久久久久免费看| 亚洲精品老司机| 日本系列欧美系列| 成人黄色大片在线观看| 欧美日韩www| 久久精品视频网| 亚洲国产精品一区二区尤物区| 久久精品国产精品亚洲红杏 | 色94色欧美sute亚洲13| 91精品国产高清一区二区三区 | 精久久久久久久久久久| 91免费视频观看| 欧美www视频| 一级女性全黄久久生活片免费| 久久成人久久爱| 欧美丝袜丝nylons| 中文字幕精品一区二区三区精品 | 精品一区二区三区免费播放 | 欧美人狂配大交3d怪物一区| 国产三级一区二区| 日韩国产在线观看一区| 99久久99久久综合| 久久久国产一区二区三区四区小说 | 欧美日韩国产天堂| 久久久亚洲综合| 一区二区三区在线视频观看58| 久久99国产精品久久| 在线亚洲欧美专区二区| 久久日韩精品一区二区五区| 亚洲成人免费视| 99久久99久久精品国产片果冻 | 精品国产免费人成在线观看| 一区二区三区美女视频| 成人动漫一区二区在线| 日韩欧美高清一区| 丝袜亚洲另类丝袜在线| 91官网在线免费观看| 国产精品水嫩水嫩| 激情综合网天天干| 911国产精品| 一区二区三区在线观看国产| 成人综合婷婷国产精品久久蜜臀| 日韩欧美第一区| 视频一区视频二区在线观看| 欧美中文字幕久久| 亚洲精品成a人| www.欧美色图| 国产精品乱人伦中文| 国产精品1024久久| 国产视频一区二区三区在线观看| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美日韩激情一区| 亚洲国产精品人人做人人爽| 欧美年轻男男videosbes| 亚洲综合久久av| 91免费国产在线观看| 中文字幕欧美一| 色偷偷一区二区三区| 亚洲乱码国产乱码精品精小说 | 日韩你懂的在线播放| 无码av中文一区二区三区桃花岛| 欧美色欧美亚洲另类二区| 亚洲永久免费视频| 欧美日韩一区二区三区高清| 亚洲国产sm捆绑调教视频| 欧美日韩国产一级| 美腿丝袜亚洲综合| 日韩精品专区在线| 国产麻豆精品视频| 日本一区二区久久| 91美女视频网站| 亚洲图片有声小说| 欧美一激情一区二区三区| 美日韩黄色大片| 久久久午夜精品理论片中文字幕| 福利电影一区二区| 最新国产精品久久精品| 欧洲国产伦久久久久久久| 日本一不卡视频| 久久综合狠狠综合久久激情| 成人精品免费看| 一区二区三区四区乱视频| 欧美精品色综合| 国产激情91久久精品导航| 综合久久久久综合| 欧美日韩国产综合久久| 麻豆精品久久久| 日本一区二区三区四区| 在线亚洲高清视频| 老司机精品视频在线| 国产亚洲短视频| 在线日韩国产精品| 久久99久久精品欧美| 国产精品无码永久免费888| 在线观看免费视频综合| 麻豆91在线播放| 亚洲日本欧美天堂| 欧美一区三区四区| 成人午夜激情影院| 亚洲国产美女搞黄色| 国产日韩欧美激情| 欧美日韩电影在线| 丁香婷婷综合五月| 无吗不卡中文字幕| 欧美国产日韩一二三区| 欧美老人xxxx18| 成人一区二区三区视频| 日本强好片久久久久久aaa| 国产精品欧美精品| 精品欧美黑人一区二区三区| 色琪琪一区二区三区亚洲区| 国产美女av一区二区三区| 夜夜操天天操亚洲| 国产拍欧美日韩视频二区| 69堂成人精品免费视频| 成人免费视频app| 久久99精品一区二区三区三区| 亚洲综合激情小说| 中文字幕欧美日韩一区| 欧美剧在线免费观看网站| 不卡大黄网站免费看| 国内精品伊人久久久久av一坑| 性感美女久久精品| 亚洲区小说区图片区qvod| 国产网红主播福利一区二区| 91精品综合久久久久久|