Datei: /pages/tutorials/combobox/combobox-03.php
<?php class Combobox03 extends Page { public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : Simple ComboBox with picture and group"; $this->render = new ComboBox($this); $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/>"); } } ?>
Zurück zum Tutorial der Komponente Combobox
|