WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial : Simple TextArea with 
auto height

Tutorials

>

Tutorial Textarea

>

Tutorial : Simple TextArea with auto height


Textarea-02: Tutorial of the composant Textarea of the PHP FrameWork WebSite-PHP.

Tutorial : Simple TextArea with auto height:



Go back to tutorial of the componant Textarea



Source code

Source code


File: /pages/tutorials/textarea/textarea-02.php

<?php
class Textarea02 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Simple TextArea with 
                                auto height"
;
        
        
$this->render = new TextArea($this);
        
$text "TextArea with\nauto height\nand carriage return\n";
        
$text .= "Write text in this area to try auto height !!!";
        
$this->render->setValue($text);
        
$this->render->setAutoHeight();
        
$this->render->setWidth(350);
    }
}
?>


Go back to tutorial of the componant Textarea


Share

 


Copyright © 2009-2018 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker