WOOP (Web Object Of Php)
Have you write PHP program like this ?

// begin
class TForm extends System_UI_Form
{
	function init()
	{
		$this->label1 = & new System_UI_Label("label1", &$this);
		$this->button1 = & new System_UI_Button("button1", &$this);
		$this->button2 = & new System_UI_Button("button2", &$this);
		
		$this->label1->caption = "23";

		$this->button1->caption = "number+1";
		$this->button1->onclick = "button1click";
		
		$this->button2->caption = "number-1";
		$this->button2->onclick = "button2click";
	}

	function button1click()
	{
		$this->label1->caption++;
	}
	
	
	function button2click()
	{
		$this->label1->caption--;
	}	
}

$form1 = & new TForm("form1");
$form1->init();

//end

to see the result of this program
Goto http://www.shiziye.net/woop

I need your help to finish this system together!!!



_________________________________________________________________
 MSN Explorer:  http://explorer.msn.com/lccn/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to