From dd76d0c2cfa3425c2e8dad54f2bcb12148957db5 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 21 Jan 2006 15:25:10 +0000 Subject: Added TLinkButton demos. --- .gitattributes | 2 + .../quickstart/protected/pages/Controls/List.page | 24 ++++++++- .../pages/Controls/Samples/TButton/Home.page | 2 +- .../pages/Controls/Samples/TLinkButton/Home.page | 58 ++++++++++++++++++++++ .../pages/Controls/Samples/TLinkButton/Home.php | 14 ++++++ .../protected/pages/Controls/Simple.page | 2 +- 6 files changed, 98 insertions(+), 4 deletions(-) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.php diff --git a/.gitattributes b/.gitattributes index 159e10bd..09c0ac4c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -71,6 +71,8 @@ demos/quickstart/protected/pages/Controls/Samples/TImage/HelloWorld.html -text demos/quickstart/protected/pages/Controls/Samples/TImage/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TImage/hello_world.gif -text demos/quickstart/protected/pages/Controls/Samples/TLabel/Home.page -text +demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.page -text +demos/quickstart/protected/pages/Controls/Samples/TLinkButton/Home.php -text demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.page -text demos/quickstart/protected/pages/Controls/Samples/TListBox/Home.php -text demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page -text diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page index 5b0e766a..557a8c6f 100644 --- a/demos/quickstart/protected/pages/Controls/List.page +++ b/demos/quickstart/protected/pages/Controls/List.page @@ -2,12 +2,32 @@
-List controls covered in this section are all inherit directly or indirectly from TDataBoundControl. Therefore, you can do various databinding operations with them. More details about databinding will be given in later sections. +List controls covered in this section all inherit directly or indirectly from TListControl. Therefore, they share the same set of commonly used properties, including, +
+Since TListControl inherits from TDataBoundControl, these list controls also share a common operation known as databinding. The data to be bound can be specified via either DataSource or DataSourceID. More details about databinding are covered in later chapters of this tutorial.
-TListBox displays a list box that allows single or multiple selection. Set the property SelectionMode as Single to make a single selection list box, and Multiple a multiple selection list box. The items in the list box are represented by the Items property. The number of rows displayed in the box is specified via the Rows property value. Some other important properties that TListBox inherits from TListControl include: Items, SelectedIndex, SelectedIndices, SelectedItem, SelectedValue, AutoPostBack and CausesValidation. +TListBox displays a list box that allows single or multiple selection. Set the property SelectionMode as Single to make a single selection list box, and Multiple a multiple selection list box. The items in the list box are represented by the Items property. The number of rows displayed in the box is specified via the Rows property value.
-Button with customized color, font, columns, maximum length: +Button with customized color, font and width: |
TLinkButton Samples+ +
TLinkButton-TLinkButton is similar to TButton in every aspect except that TLinkButton is displayed as a hyperlink. The link text is determined by its Text property. If the Text property is empty, then the body content of the button is displayed (therefore, you can enclose a <img;> tag within the button body and get an image button. +TLinkButton is similar to TButton in every aspect except that TLinkButton is displayed as a hyperlink. The link text is determined by its Text property. If the Text property is empty, then the body content of the button is displayed (therefore, you can enclose a <img> tag within the button body and get an image button. |