dToggleButton is a button-like control used to display boolean values, much like dCheckBox, but with a very different visual effect. Instead of a checked/unchecked state, the button visibly depresses and raises to indicate On/Off, True/False, etc.
Some of the more useful properties for dToggleButton:
- Caption - (str): The text displayed on the button.
- BezelWidth - (int): Thickness of the bezel drawn around the button.
- Picture - (path or str): The image that is displayed on the button when it is not depressed. If
DownPictureis not specified, it is also displayed when depressed.
- DownPicture - (path or str): The image that is displayed on the button when it is depressed.
See the Dabo Class Documentation for an exhaustive documentation of this control's Properties, Events and Methods. (Note that this documentation is no longer live, but it's still available via the Internet Archive).