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 : TextArea with height 
and width defined and no wrap text

Tutorials

>

Tutorial Textarea

>

Tutorial : TextArea with height and width defined and no wrap text


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

Tutorial : TextArea with height and width defined and no wrap text:



Go back to tutorial of the componant Textarea



Source code

Source code


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

<?php
class Textarea05 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : TextArea with height 
                            and width defined and no wrap text"
;
        
        
$this->render = new TextArea($this);
        
$text "TextArea with height\n";
        
$text .= "and width defined and no wrap text\n";
        
$text .= "This is a loooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnggggggggggggg string";
        
$this->render->setValue($text);
        
$this->render->noWrap()->setHeight(100)->setWidth(300);
    }
}
?>


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