Auto configures the toolbar with a set of buttons. Provides a mechanism for rapidly autoconfigures the toolbar with a set of predefined buttons. For example to enable every toolbar button and menu, do this: editor1.AutoConfigure="full". Note that this method will affect properties of the editor, so it is usually best to call it before any other property or method.
Example Code
<%
Dim editor
Set editor =
New CuteEditor
editor.ID=
"Editor1"
'Load the different configuration file dynamically for the different roles/users using Editor.AutoConfigure property.
editor.AutoConfigure
= "simple"
editor.Text =
"Hello World"
editor.Draw()
%>
Member Name | Description |
---|---|
None | Disables all items on the toolbar |
Default | Enables the buttons in the CuteEditor_Files/Configuration/AutoConfigure/Default.config file |
Full | Enables the buttons in the CuteEditor_Files/Configuration/AutoConfigure/Full.config file |
Full_noform | Enables the buttons in the CuteEditor_Files/Configuration/AutoConfigure/Full_noform.config file |
Minimal | Enables the buttons in the CuteEditor_Files/Configuration/AutoConfigure/Minimal.config file |
Simple | Enables the buttons in the CuteEditor_Files/Configuration/AutoConfigure/Simple.config file |
Editor Class | CuteEditor Namespace