summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.php b/tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.php
new file mode 100644
index 00000000..dc47d867
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.php
@@ -0,0 +1,21 @@
+<?php
+
+class EventTriggeredCallback extends TPage
+{
+ function text1_focused($sender, $param)
+ {
+ $this->label1->Text = 'text 1 focused';
+ }
+
+ function panel1_onmouseover($sender, $param)
+ {
+ $this->label1->Text = 'panel 1 on mouse over '.time();
+ }
+
+ function button1_clicked($sender, $param)
+ {
+ $this->label1->Text = 'button 1 clicked';
+ }
+}
+
+?> \ No newline at end of file