VB打造超酷个性化菜单(三)(2)
‘ 属性: 菜单项可用时文字颜色Public Property Get ItemTextEnabledColor() As Long ItemTextEnabledColor = TextEnabledColorEnd Property Public Property Let ItemTextEnabledColor(ByVal nTextEnabledColor As Long) TextEnabledColor = nTextEnabledColorEnd Property‘ 属性: 菜单项不可用时文字颜色Public Property Get ItemTextDisabledColor() As Long ItemTextDisabledColor = TextDisabledColorEnd Property Public Property Let ItemTextDisabledColor(ByVal nTextDisabledColor As Long) TextDisabledColor = nTextDisabledColorEnd Property ‘ 属性: 菜单项选中时文字颜色Public Property Get ItemTextSelectColor() As Long ItemTextSelectColor = TextSelectColorEnd Property Public Property Let ItemTextSelectColor(ByVal nTextSelectColor As Long) TextSelectColor = nTextSelectColorEnd Property ‘ 属性: 菜单项图标风格Public Property Get ItemIconStyle() As MenuItemIconStyle ItemIconStyle = IconStyleEnd Property Public Property Let ItemIconStyle(ByVal nIconStyle As MenuItemIconStyle) IconStyle = nIconStyleEnd Property ‘ 属性: 菜单项边框风格Public Property Get ItemSelectEdgeStyle() As MenuItemSelectEdgeStyle ItemSelectEdgeStyle = EdgeStyleEnd Property Public Property Let ItemSelectEdgeStyle(ByVal nEdgeStyle As MenuItemSelectEdgeStyle) EdgeStyle = nEdgeStyleEnd Property ‘ 属性: 菜单项边框颜色Public Property Get ItemSelectEdgeColor() As Long ItemSelectEdgeColor = EdgeColorEnd Property Public Property Let ItemSelectEdgeColor(ByVal nEdgeColor As Long) EdgeColor = nEdgeColorEnd Property ‘ 属性: 菜单项背景填充风格Public Property Get ItemSelectFillStyle() As MenuItemSelectFillStyle ItemSelectFillStyle = FillStyleEnd Property Public Property Let ItemSelectFillStyle(ByVal nFillStyle As MenuItemSelectFillStyle) FillStyle = nFillStyleEnd Property ‘ 属性: 菜单项过渡色起始颜色(只有当 ItemSelectFillStyle 设置为 ISFS_HORIZONTALCOLOR 或 ISFS_VERTICALCOLOR 时才有效)‘当 ItemSelectFillStyle 设置为 ISFS_SOLIDCOLOR (实色填充)时以 ItemSelectFillStartColor 颜色为准Public Property Get ItemSelectFillStartColor() As Long ItemSelectFillStartColor = FillStartColorEnd Property Public Property Let ItemSelectFillStartColor(ByVal nFillStartColor As Long) FillStartColor = nFillStartColorEnd Property ‘ 属性: 菜单项过渡色终止颜色(只有当 ItemSelectFillStyle 设置为 ISFS_HORIZONTALCOLOR 或 ISFS_VERTICALCOLOR 时才有效)‘当 ItemSelectFillStyle 设置为 ISFS_SOLIDCOLOR (实色填充)时以 ItemSelectFillStartColor 颜色为准Public Property Get ItemSelectFillEndColor() As Long ItemSelectFillEndColor = FillEndColorEnd Property Public Property Let ItemSelectFillEndColor(ByVal nFillEndColor As Long) FillEndColor = nFillEndColorEnd Property ‘ 属性: 菜单背景颜色Public Property Get BackColor() As Long BackColor = BkColorEnd Property Public Property Let BackColor(ByVal nBkColor As Long) BkColor = nBkColorEnd Property ‘ 属性: 菜单分隔条风格Public Property Get SeparatorStyle() As MenuSeparatorStyle SeparatorStyle = SepStyleEnd Property Public Property Let SeparatorStyle(ByVal nSepStyle As MenuSeparatorStyle) SepStyle = nSepStyleEnd Property ‘ 属性: 菜单分隔条颜色Public Property Get SeparatorColor() As Long SeparatorColor = SepColorEnd Property Public Property Let SeparatorColor(ByVal nSepColor As Long) SepColor = nSepColorEnd Property
首页 上页 | 1 | 2 | 下页 尾页 共 2 页