Table of contents
TOC
Collapse the table of content
Expand the table of content

ToggleButton Object (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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:

| Toggle button

|

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.

Events

Name
AfterUpdate
BeforeUpdate
Click
DblClick
Enter
Exit
GotFocus
KeyDown
KeyPress
KeyUp
LostFocus
MouseDown
MouseMove
MouseUp

Methods

Name
Move
Requery
SetFocus
SizeToFit
Undo

Properties

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

See also

Other resources

Access Object Model ReferenceToggleButton Object Members

© 2017 Microsoft