--- nfo/php/libs/com.newsblob.phphtmllib/examples/form2.php 2003/09/20 00:20:55 1.2
+++ nfo/php/libs/com.newsblob.phphtmllib/examples/form2.php 2004/05/06 16:27:17 1.3
@@ -5,7 +5,7 @@
* NavTable widget.
*
*
- * $Id: form2.php,v 1.2 2003/09/20 00:20:55 jonen Exp $
+ * $Id: form2.php,v 1.3 2004/05/06 16:27:17 jonen Exp $
*
* @author Walter A. Boring IV
* @package phpHtmlLib
@@ -86,14 +86,17 @@
$this->add_element( new FEEmail("Email Address", TRUE, "200px") );
//This will build a scrollable list of checkboxes.
- $this->add_element( new FECheckBoxList("List", FALSE,
- "200px", "80px",
- array("Testing 123" => "foo",
- "What is this?" => "bar",
- "Somone's test" => "blah",
- "Slerm" => "slerm",
- "Flem" => "flom",
- "One" => 1)));
+ $list = new FECheckBoxList("List", FALSE,
+ "200px", "80px",
+ array("Testing 123" => "foo",
+ "What is this?" => "bar",
+ "Somone's test" => "blah",
+ "Slerm" => "slerm",
+ "Flem" => "flom",
+ "One" => 1));
+ $list->disable_item("Testing 123");
+ $this->add_element( $list );
+
$this->add_element( new FEListBox("Anrede", FALSE, "100px", NULL,array("Frau"=>0,"Herr"=>1)) );