Switch Button OCX
The button contained in this OCX has several utilities:
- It can not take the focus what avoids the unpleasant dotted line which
VB adds automatically on his buttons
- Allows to make buttons which remain pushed after a click and which go back
up to the fellow man click
- Choice free of colours for the shade, this button does not depend any more on colours systems
Outline of possibilities:
See source
Evénements:
- Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Event Click()
Propriétés:
- Property BackColor() As OLE_COLOR
- Property ForeColor() As OLE_COLOR
- Property Enabled() As Boolean
- Property Font() As Font
- Property Position() As EnumPosition
- Property CaptionAuto() As Boolean
- Property CaptionTop() As Long
- Property CaptionLeft() As Long
- Property Style() As EnumStyle
- Property ColorDownRightOne() As OLE_COLOR
- Property ColorDownRightTwo() As OLE_COLOR
- Property ColorTopLeftTwo() As OLE_COLOR
- Property ColorTopLeftOne() As OLE_COLOR
- Property Caption() As String
Méthodes de SwitchButton:
To see source suit