Dart.PowerWEB.TextBox Namespace > ToolbarButton Class : OnClickFunctionCode Property (ToolbarButton) |
Gets or sets the code block associated with this ToolbarButton.
[Visual Basic]
<DescriptionAttribute("The client side code to run when the button is clicked. OnClickFunctionName must be set to reference this code.")>
<DefaultValueAttribute()>
Public Property OnClickFunctionCode As String
[C#]
[DescriptionAttribute("The client side code to run when the button is clicked. OnClickFunctionName must be set to reference this code.")]
[DefaultValueAttribute()]
public string OnClickFunctionCode {get; set;}
[C++]
[DescriptionAttribute("The client side code to run when the button is clicked. OnClickFunctionName must be set to reference this code.")]
[DefaultValueAttribute()]
public: __property string* get_OnClickFunctionCode();
public: __property void set_OnClickFunctionCode(
string* value
);
[C++/CLI]
[DescriptionAttribute("The client side code to run when the button is clicked. OnClickFunctionName must be set to reference this code.")]
[DefaultValueAttribute()]
public:
property String^ OnClickFunctionCode {
String^ get();
void set (String^ value);
}
This property is not used by any of the predefined ToolbarButton controls. It is provided as an easy way to associate a code block with a button, for example:
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
ToolbarButton Class | ToolbarButton Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.