Re: Move existing buttons into a toolbar?

  •  03-06-2006, 11:47 PM

    Re: Move existing buttons into a toolbar?

    Nevermind, I got it.  For anyone who may be intrested, I achieved this by making the following modification to my common.config file:
     
        <HTMLControls>
          <item text="Insert Form" value="insertform">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\Form.gif' /> Insert Form]]></html>
          </item>
          <item text="Insert Textbox" value="inserttextbox">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\textarea.gif' /> Insert Text Area]]></html>
          </item>
          <item text="Insert Listbox" value="insertlistbox">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\listbox.gif' /> Insert ListBox]]></html>
          </item>
          <item text ="Insert Dropdown" value="insertdropdown">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\dropdownbox.gif' /> Insert Dropdown]]></html>
          </item>
          <item text="Insert Radio Button" value="insertradiobox">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\optionbutton.gif' /> Insert Radiobox]]></html>
          </item>
          <item text="Insert Checkbox" value="insertcheckbox">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\checkbox.gif' /> Insert Checkbox]]></html>
          </item>
          <item text="Inser Text field" value="insertinputtext">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\textbox.gif' /> Insert Text field]]></html>
          </item>
          <item text="Insert Image" value="insertinputimage">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\image.gif' /> Insert Image]]></html>
          </item>
          <item text="Insert Submit" value="insertinputsubmit">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\submit.gif' /> Insert Button]]></html>
          </item>
          <item text="Insert Password field" value="insertinputpassword">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\passwordfield.gif' /> Insert Password field]]></html>
          </item>
          <item text="Insert Hidden Field" value="insertinputhidden">
            <html><![CDATA[<img border=0 align='absMiddle' src='\Cutesoft\CuteSoft_Client\CuteEditor\Themes\Custom\Images\hiddenfield.gif' /> Insert Hidden field]]></html>
          </item>
        </HTMLControls>
     
     
    And I added a javascript event to the change event of the dropdown which calls Editor.ExecCommand on the selectedValue.
    Works like a champ.
     
     
View Complete Thread