From 2df9a40f504933e28ddb9974b97ae4b2bb893f86 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 2 Jan 2006 17:10:25 +0000 Subject: Added TTable sample. --- .../pages/Controls/Samples/TTable/Home.page | 44 +++++++++++++++++++++ .../pages/Controls/Samples/TTable/backimage.gif | Bin 0 -> 3636 bytes .../protected/pages/Controls/Simple.page | 6 +++ 3 files changed, 50 insertions(+) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TTable/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TTable/backimage.gif (limited to 'demos') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTable/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TTable/Home.page new file mode 100644 index 00000000..cec92f67 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TTable/Home.page @@ -0,0 +1,44 @@ + + +

TTable Samples

+ + + + + + + +
+Table with default settings (looks empty): + + +
+Table with rows and customized font, background image, etc.: + + + Caption="This is table caption" + CaptionAlign="Bottom"> + + header cell 1 + header cell 2 + header cell 3 + + + cell 1 + cell 2 + cell 3 + + + cell 4 + + cell 5 + + + +
+ +
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TTable/backimage.gif b/demos/quickstart/protected/pages/Controls/Samples/TTable/backimage.gif new file mode 100644 index 00000000..8a4b3b71 Binary files /dev/null and b/demos/quickstart/protected/pages/Controls/Samples/TTable/backimage.gif differ diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page index 7ee79ac0..86b819f4 100644 --- a/demos/quickstart/protected/pages/Controls/Simple.page +++ b/demos/quickstart/protected/pages/Controls/Simple.page @@ -18,6 +18,12 @@

+

TTable

+

+TTable displays an HTML table on a page. It is used together with TTableRow and TTableCell to allow programmatically manipulating HTML tables. The rows of the table is stored in Rows property. You may set the table cellspacing and cellpadding via the CellSpacing and CellPadding properties, respectively. The table caption can be specified via Caption whose alignment is specified by CaptionAlign. The GridLines property indicates how the table should display its borders, and the BackImageUrl allows the table to have a background image. +

+ +

TTextBox

TTextBox displays a text box on a Web page. The content in the text box is determined by the Text property. You can create a SingleLine, a MultiLine, or a Password text box by setting the TextMode property. The Rows and Columns properties specify their dimensions. If AutoPostBack is true, changing the content in the text box and then moving the focus out of it will cause postback action. -- cgit v1.2.3