From fa1bc21a7f5346c702490dffbe3cf3f9940b3cd0 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Tue, 6 Dec 2005 18:59:31 +0000
Subject:
---
demos/controls/protected/pages/HomePage.php | 5 +++++
demos/controls/protected/pages/HomePage.tpl | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
(limited to 'demos/controls')
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php
index d7f7e1be..d599dd95 100644
--- a/demos/controls/protected/pages/HomePage.php
+++ b/demos/controls/protected/pages/HomePage.php
@@ -18,6 +18,11 @@ class HomePage extends TPage
$this->TextBox->focus();
}
+ public function clickImage($sender,$param)
+ {
+ $this->TextBox->Text="You Clicked (".$param->X.", ".$param->Y.")";
+ }
+
public function linkClicked($sender,$param)
{
$sender->Text="Hello World";
diff --git a/demos/controls/protected/pages/HomePage.tpl b/demos/controls/protected/pages/HomePage.tpl
index 9cb24d3f..d3cc53df 100644
--- a/demos/controls/protected/pages/HomePage.tpl
+++ b/demos/controls/protected/pages/HomePage.tpl
@@ -10,7 +10,7 @@
(requires membership)
/>
- />
+ Click="clickImage"/>
|
--
cgit v1.2.3