CuteEditor for PHP 6.1 Class Library

Editor.ActiveTab Property

Sets which Tab is active (Edit/Code/View).


Example Code

<?php
         $editor=new CuteEditor();
         $editor->ID="Editor1";
         $editor->Text="Type here";
         $editor->FilesPath="CuteEditor_Files";
         $editor->ActiveTab="Code";
         $editor->Draw();
         $editor=null; 

         //use $_POST["Editor1"]to catch the data
?>

Members

Member Name Description
Edit The view in which you do most of your work
Code Code view lets you manually edit your HTML code
View Approximates how your page will display in the Internet Explorer browser.

See Also

Editor Class | CuteEditor Namespace