From 5e3caed030722be404c1b56f2af1e149799b5eda Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 27 Aug 2007 21:23:33 +0000 Subject: Added tutorial for TKeyboard. --- .../protected/pages/Controls/Keyboard.page | 34 ++++++++++++++++++++++ .../pages/Controls/Samples/TKeyboard/Home.page | 15 ++++++++++ .../pages/Controls/Samples/TKeyboard/Home.php | 11 +++++++ .../pages/GettingStarted/NewFeatures.page | 1 + 4 files changed, 61 insertions(+) create mode 100644 demos/quickstart/protected/pages/Controls/Keyboard.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TKeyboard/Home.php (limited to 'demos/quickstart/protected/pages') diff --git a/demos/quickstart/protected/pages/Controls/Keyboard.page b/demos/quickstart/protected/pages/Controls/Keyboard.page new file mode 100644 index 00000000..06c91049 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Keyboard.page @@ -0,0 +1,34 @@ + + +

TKeyboard

+ + +

+TKeyboard displays a virtual keyboard that users can click on to enter input in +an associated text box. It helps to reduce the keyboard recording hacking. +

+ +

+To use TKeyboard, write a template like following: +

+ +<com:TTextBox ID="PasswordInput" /> +<com:TKeyboard ForControl="PasswordInput" /> + + +

+A TKeyboard control is associated with a TTextBox control by specifying +ForControl to be the ID of that control. When the textbox is in focus, +a virtual keyboard will pop up; and when the text box is losing focus, the keyboard +will hide automatically. Set AutoHide to false to keep the keyboard showing all the time. +

+ +

+The appearance of the keyboard can also be changed by specifying a customized CSS file via +CssUrl. By default, the CSS class name for the keyboard is 'Keyboard'. This may +also be changed by specifying KeyboardCssClass +

+ + + +
$Id$
\ No newline at end of file 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 @@ + +

TKeyboard Samples

+ +
+ + + +
+
+ +
+ + +
$Id$
+
\ 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 @@ +Result->Text='You have entered "'.$this->PasswordInput->Text.'".'; + } +} + +?> \ No newline at end of file diff --git a/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page b/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page index 560bbfd9..a5136d72 100644 --- a/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page +++ b/demos/quickstart/protected/pages/GettingStarted/NewFeatures.page @@ -9,6 +9,7 @@ This page summarizes the main new features that are introduced in each PRADO rel

Version 3.1.1

-- cgit v1.2.3