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 : ComboBox with advance 
style

Tutorials

>

Tutorial Combobox

>

Tutorial : ComboBox with advance style


Combobox-08: Tutorial of the composant Combobox of the PHP FrameWork WebSite-PHP.

Tutorial : ComboBox with advance style:





Go back to tutorial of the componant Combobox



Source code

Source code


File: /pages/tutorials/combobox/combobox-08.php

<?php
class Combobox08 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : ComboBox with advance 
                                style"
;
        
        
$this->render = new ComboBox($this);
        
$this->render->setOption("mainCSS:'blue'");
        
$this->render->setWidth(200);
        
$this->render->addItem("value 1""value 1"
                            
false"img/home.png""Group 1");
        
$this->render->addItem("value 2""value 2"
                            
false"img/doc.png""Group 1");
        
$this->render->addItem("value 3""value 3"
                            
false"img/contact.png""Group 2");
        
$this->render = new WSPObject($this->render"<br/><br/>");
    }
}
?>


Go back to tutorial of the componant Combobox


Share

 


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