diff options
author | ctrlaltca@gmail.com <> | 2011-06-01 20:48:19 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-01 20:48:19 +0000 |
commit | 45c32f4610b9988e0ebed87674388268ac96ae1f (patch) | |
tree | c72049204b5ed823c39a7533b7fa19298289928d /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImageButton/Home.php | |
parent | 78d82290a076ea1da6da7f8a5bd0297eb7584db5 (diff) |
added documentation for TActiveImageButton class
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 |