diff options
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.php')
-rw-r--r-- | demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.php new file mode 100644 index 00000000..1993b78d --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveTextBox/Home.php @@ -0,0 +1,16 @@ +<?php + +class Home extends TPage +{ + public function buttonClicked($sender,$param) + { + $this->txt1->Text="You clicked the button, didn't you?"; + } + + public function textChanged($sender,$param) + { + $this->label2->Text=THttpUtility::htmlEncode($this->txt2->Text); + } +} + +?>
\ No newline at end of file |