Difference between revisions of "RxButton"

From Ribbon Commander Documentation
Jump to: navigation, search
(Examples)
(Properties)
Line 12: Line 12:
 
|<div style="background-color:#3886c9; font-weight:bold; color:white; padding-left:10px; margin:1em 0; font-size:small; text-align:left">Description</div>
 
|<div style="background-color:#3886c9; font-weight:bold; color:white; padding-left:10px; margin:1em 0; font-size:small; text-align:left">Description</div>
 
|-
 
|-
| style="padding-left: 10px" | description || The control's description in detailed views
+
| style="padding-left: 10px" | description || Sets the extended description of the control, which appears in menus with itemSize set to large
 
|-
 
|-
 
| style="padding-left: 10px" | enabled || Whether the controls is enabled
 
| style="padding-left: 10px" | enabled || Whether the controls is enabled
 
|}
 
|}
 
<div style="clear:left"></div>
 
<div style="clear:left"></div>
 
  
 
== Methods ==
 
== Methods ==

Revision as of 11:41, 11 March 2013

RxButton.png

Description

rxButton models element CT_Button of the MS Custom UI XML specification which specifies a standard push button.

Properties

Property Name
Description
description Sets the extended description of the control, which appears in menus with itemSize set to large
enabled Whether the controls is enabled

Methods

Method Name
Description
clear clear description
clone clone description
readXml readXml description


Delegates

Delegate Name
Description
onAction onAction delegate description
getDescription getDescription description
getEnabled getEnabled description


Events

Event Name
Description
OnActionEvent OnActionEvent description
OnGetDescription OnGetDescription description
OnGetEnabled OnGetEnabled description


Examples

VBA

Dim grp As rxGroup
Set grp = New rxGroup
 
Dim btn As rxButton
Set btn = New rxButton
 
grp.Buttons.Add btn

C#

VB.NET

C++