Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
class Home extends TPage
4
{
5
	public function buttonClicked($sender,$param)
6
	{
7
		if($param instanceof TCommandEventParameter)
8
		{
9
			$this->Result2->Text="Command name: $param->CommandName, Command parameter: $param->CommandParameter";
10
		}
11
		else
12
		{
13
			$this->Result->Text="You clicked at ($param->X,$param->Y)";
14
		}
15
	}
16
}
17
 
18
?>