ToggleButton Object (Access)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Control:

Tool:

t-togbtn_ZA06054009

togglbtn_ZA06044638

Note Note

When you click 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.

Name

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

Show: