From 341cd739bae562f8460fddc08b14a97833225a9e Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 30 Dec 2005 00:38:04 +0000 Subject: --- .../pages/Controls/Samples/TTextBox/Samples.page | 81 ++++++++++++++++++++++ .../pages/Controls/Samples/TTextBox/Samples.php | 16 +++++ 2 files changed, 97 insertions(+) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.php (limited to 'demos/quickstart/protected/pages/Controls/Samples/TTextBox') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.page b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.page new file mode 100644 index 00000000..43ab16f7 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.page @@ -0,0 +1,81 @@ + + +

TTextBox Samples

+ +
+
SingleLine and Password Text Boxes
+ +Text box with default settings: + +
+ +Password text box: + +
+ +Text box with customized color, font, columns, maximum length: + +
+ +Disabled text box: + +
+ +Read-only text box: + +
+ +Auto postback text box: + +
+ +Text box's behavior upon postback: + + + +
+ +
+
MultiLine Text Boxes
+ +Text box with default settings:
+ +
+ +Text box with customized dimensions, font and content:
+ + +This is a multiline text box. +In HTML, it is displayed as a textarea. + + +
+ +Disabled text box:
+ +
+ +Read-only text box with text-wrapping disabled:
+ +
+ +Auto postback text box:
+ +
+
+ +
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.php b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.php new file mode 100644 index 00000000..5f812c9e --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TTextBox/Samples.php @@ -0,0 +1,16 @@ +Text="text changed"; + } + + public function submitText($sender,$param) + { + $this->TextBox1->Text="You just entered '".$this->TextBox1->Text."'."; + } +} + +?> \ No newline at end of file -- cgit v1.2.3