diff options
| author | wei <> | 2006-08-27 04:18:31 +0000 | 
|---|---|---|
| committer | wei <> | 2006-08-27 04:18:31 +0000 | 
| commit | 887da1b3668499821f046665b461aeadb0a9fb2e (patch) | |
| tree | 776f742ea179c823c90e7b81d2262a4344610eca /tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php | |
| parent | 1180e6486139a9c9662984367c4f624394e06f35 (diff) | |
Adding TActiveImage and TActiveImageButton
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php')
| -rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php | 31 | 
1 files changed, 31 insertions, 0 deletions
| diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php new file mode 100644 index 00000000..eced2457 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveImageButtonTest.php @@ -0,0 +1,31 @@ +<?php
 +
 +class ActiveImageButtonTest extends TPage
 +{
 +	function change_text($sender, $param)
 +	{
 +		$this->image1->AlternateText = "Muahahahah";
 +	}
 +
 +	function change_image($sender, $param)
 +	{
 +		$this->image1->ImageUrl = $sender->CustomData;
 +	}
 +
 +	function change_align($sender, $param)
 +	{
 +		$this->image1->ImageAlign="absbottom";
 +	}
 +
 +	function change_description($sender, $param)
 +	{
 +		$this->image1->DescriptionUrl = "maahahhaa";
 +	}
 +
 +	function image1_clicked($sender, $param)
 +	{
 +		$this->label1->Text = "Image clicked at x={$param->x}, y={$param->y}";
 +	}
 +}
 +
 +?>
\ No newline at end of file | 
