blob: ae174f592b93b50efa1dbd824a2ae1ceb7ab3027 (
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);
}
}
?>
|