ToggleButton object (Access)
This object corresponds to a toggle button. A toggle button on a form is a stand-alone control used to display a Yes/No value from an underlying record source.
Remarks
Control | Tool |
---|---|
Note
When you choose a toggle button that's bound to a Yes/No field, Microsoft Access displays the value in the underlying table according to the field's Format property (Yes/No, True/False, or On/Off).
Toggle buttons are most useful when used in an option group with other buttons.
You can also use a toggle button in a custom dialog box to accept user input.
Events
- AfterUpdate
- BeforeUpdate
- Click
- DblClick
- Enter
- Exit
- GotFocus
- KeyDown
- KeyPress
- KeyUp
- LostFocus
- MouseDown
- MouseMove
- MouseUp
Methods
Properties
- AddColon
- AfterUpdate
- Application
- AutoLabel
- BackColor
- BackShade
- BackThemeColorIndex
- BackTint
- BeforeUpdate
- Bevel
- BorderColor
- BorderShade
- BorderStyle
- BorderThemeColorIndex
- BorderTint
- BorderWidth
- BottomPadding
- Caption
- ColumnHidden
- ColumnOrder
- ColumnWidth
- Controls
- ControlSource
- ControlTipText
- ControlType
- DefaultValue
- DisplayWhen
- Enabled
- EventProcPrefix
- FontBold
- FontItalic
- FontName
- FontSize
- FontUnderline
- FontWeight
- ForeColor
- ForeShade
- ForeThemeColorIndex
- ForeTint
- Glow
- Gradient
- GridlineColor
- GridlineShade
- GridlineStyleBottom
- GridlineStyleLeft
- GridlineStyleRight
- GridlineStyleTop
- GridlineThemeColorIndex
- GridlineTint
- GridlineWidthBottom
- GridlineWidthLeft
- GridlineWidthRight
- GridlineWidthTop
- Height
- HelpContextId
- HideDuplicates
- HorizontalAnchor
- HoverColor
- HoverForeColor
- HoverForeShade
- HoverForeThemeColorIndex
- HoverForeTint
- HoverShade
- HoverThemeColorIndex
- HoverTint
- InSelection
- IsVisible
- LabelAlign
- LabelX
- LabelY
- Layout
- LayoutID
- Left
- LeftPadding
- Locked
- Name
- ObjectPalette
- OldValue
- OnClick
- OnDblClick
- OnEnter
- OnExit
- OnGotFocus
- OnKeyDown
- OnKeyPress
- OnKeyUp
- OnLostFocus
- OnMouseDown
- OnMouseMove
- OnMouseUp
- OptionValue
- Parent
- Picture
- PictureData
- PictureType
- PressedColor
- PressedForeColor
- PressedForeShade
- PressedForeThemeColorIndex
- PressedForeTint
- PressedShade
- PressedThemeColorIndex
- PressedTint
- Properties
- QuickStyle
- QuickStyleMask
- ReadingOrder
- RightPadding
- Section
- Shadow
- Shape
- ShortcutMenuBar
- SoftEdges
- StatusBarText
- TabIndex
- TabStop
- Tag
- ThemeFontIndex
- Top
- TopPadding
- TripleState
- UseTheme
- ValidationRule
- ValidationText
- Value
- VerticalAnchor
- Visible
- Width
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.