summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActivePanel/Home.php
blob: 6526772b2520c2cd815e2badf67818f3e0edfe9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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);
	}
}