Class NSQuoteVersionButtonState
Information about possible button actions for the quote version dialog.
Constructors
NSQuoteVersionButtonState()
Initializes a new instance of the NSQuoteVersionButtonState class.
Declaration
NSQuoteVersionButtonState Methods
GetAction()
Declaration
Integer GetAction() Examples
NSQuoteVersionButtonState thing;
Integer action = thing.GetAction();
Returns
| Type | Description |
| Integer | Action for the button. See <xref href="CRMScript.NetServer.QuoteVersionButtonAction" data-throw-if-not-resolved="false"></xref>. |
GetDisplayText()
Declaration
String GetDisplayText() Examples
NSQuoteVersionButtonState thing;
String displayText = thing.GetDisplayText();
Returns
| Type | Description |
| String | Text to be displayed on the button. |
GetEnabled()
Declaration
Bool GetEnabled() Examples
NSQuoteVersionButtonState thing;
Bool enabled = thing.GetEnabled();
Returns
| Type | Description |
| Bool | Indicate if the button should be enabled or disabled. |
GetImageHint()
Declaration
String GetImageHint() Examples
NSQuoteVersionButtonState thing;
String imageHint = thing.GetImageHint();
Returns
| Type | Description |
| String | Image to be shown. |
GetTooltipText()
Declaration
String GetTooltipText() Examples
NSQuoteVersionButtonState thing;
String tooltipText = thing.GetTooltipText();
Returns
| Type | Description |
| String | The tooltip for the button. |
SetAction(Integer)
Declaration
Void SetAction(Integer action) Examples
NSQuoteVersionButtonState thing;
Integer action;
thing.SetAction(action);
Parameters
| Type | Name | Description |
| Integer | action | Action for the button See <xref href="CRMScript.NetServer.QuoteVersionButtonAction" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetDisplayText(String)
Declaration
Void SetDisplayText(String displayText) Examples
NSQuoteVersionButtonState thing;
String displayText;
thing.SetDisplayText(displayText);
Parameters
| Type | Name | Description |
| String | displayText | Text to be displayed on the button. |
Returns
| Type | Description |
| Void |
SetEnabled(Bool)
Declaration
Void SetEnabled(Bool enabled) Examples
NSQuoteVersionButtonState thing;
Bool enabled;
thing.SetEnabled(enabled);
Parameters
| Type | Name | Description |
| Bool | enabled | Indicate if the button should be enabled or disabled. |
Returns
| Type | Description |
| Void |