summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php
blob: 362fdebe6dfeaac5cb3ab2788257b0f9e3799782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

class Home extends TPage
{
	public function buttonClicked($sender,$param)
	{
		$this->check1->Checked = !$this->check1->Checked;
		if($this->txt1->Text=="")
			$this->txt1->Text="changes happens";
		else
			$this->txt1->Text="";
		if($this->label1->Text=="")
			$this->label1->Text="label has changed, too";
		else
			$this->label1->Text="";

		$this->panel1->render($param->NewWriter);
	}
}

?>