diff options
author | xue <> | 2007-08-27 21:23:33 +0000 |
---|---|---|
committer | xue <> | 2007-08-27 21:23:33 +0000 |
commit | 5e3caed030722be404c1b56f2af1e149799b5eda (patch) | |
tree | c6384e61ad15803d2f5e20cf0d356d2788dc56cb /demos/quickstart/protected/pages/Controls/Samples | |
parent | d168b3508064ccfb7f1ebf635c0ba71734750ced (diff) |
Added tutorial for TKeyboard.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.page | 15 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.php | 11 |
2 files changed, 26 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.page new file mode 100644 index 00000000..95340e1d --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.page @@ -0,0 +1,15 @@ +<com:TContent ID="body">
+<h1>TKeyboard Samples</h1>
+
+<div>
+<com:TTextBox ID="PasswordInput" />
+<com:TButton Text="Submit" OnClick="buttonClicked" />
+<com:TLiteral ID="Result" />
+</div>
+<div>
+<com:TKeyboard ForControl="PasswordInput" AutoHide="true" />
+</div>
+
+
+<div class="last-modified">$Id$</div>
+</com:TContent>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.php new file mode 100644 index 00000000..689f45c8 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.php @@ -0,0 +1,11 @@ +<?php
+
+class Home extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $this->Result->Text='You have entered "'.$this->PasswordInput->Text.'".';
+ }
+}
+
+?>
\ No newline at end of file |