summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.page15
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.php11
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