Help Center

CXpButton.Toggleproperty

Gets/sets button to toggle state (CTRUE) or to pushbutton state (FALSE).

Windowspropertydocumented

Syntax

PROPERTY Toggle () AS LONG
PROPERTY Toggle (BYVAL fToggle AS LONG)

Parameters

NameDescription
fToggleToggled state (CTRUE or FALSE).

Return value

Returns CTRUE if the button is toggled or FALSE otherwise.

Description

Gets/sets button to toggle state (TRUE) or to pushbutton state (FALSE).

Reference

  • Defined in AfxNova/CXpButton.inc:1511
  • Documented in Windows/Windows GUI/CXpButton Class.md
  • Topic: CXpButton Class