.. DButton

.. default - domain::js

.. include:: /includes/standard.rst

=============================
DButton (of :class:`Control`)
=============================

.. class:: DButton

	Defined in DialogControls.sc.

	A button control.


Subclasses: :class:`DColorButton`.

Properties
==========

Inherited from :class:`Control`:

======== ==============================================
Property Description                                   
======== ==============================================
type                                                   
state                                                  
nsTop                                                  
nsLeft                                                 
nsBottom                                               
nsRight                                                
key      The keyboard key associated with this control.
said                                                   
value    Arbitrary value associated with this control. 
======== ==============================================

Defined in DButton:

======== ================
Property Description     
======== ================
text     The button text.
font     The button font.
======== ================


Methods
==========

.. function:: dispose(param1)
	:noindex:



.. function:: setSize()
	:noindex:



