diff options
author | ctrlaltca@gmail.com <> | 2011-06-01 22:14:00 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-01 22:14:00 +0000 |
commit | 67666aaccb4b4743a084b214722e1173e827e9d1 (patch) | |
tree | e0b6204f917845f382c33bcbe5c2a6822e856020 /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php | |
parent | 6521eecc250d756a9bb1a8b2f9a2c6a579accadd (diff) |
upported recent documentation changes from branch/3.1 to trunk/
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php new file mode 100644 index 00000000..b1f2c53b --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php @@ -0,0 +1,18 @@ +<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ if($param instanceof TCallbackEventParameter)
+ {
+ $this->Result2->Text="Callback parameter: $param->CallbackParameter";
+ }
+ else
+ {
+ $this->Result->Text="You clicked at ($param->X,$param->Y)";
+ }
+ }
+}
+
+?>
\ No newline at end of file |