From e6cd6ce701e1c7d6e4f245ef2fff6c7d22914767 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 21:39:49 +0000 Subject: added documentation for TActiveMultiView class --- .../pages/ActiveControls/ActiveMultiView.page | 14 ++++++++ .../protected/pages/ActiveControls/Home.page | 6 ++-- .../Samples/TActiveMultiView/Home.page | 37 ++++++++++++++++++++++ .../Samples/TActiveMultiView/Home.php | 15 +++++++++ 4 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php (limited to 'demos/quickstart/protected/pages/ActiveControls') diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page b/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page new file mode 100644 index 00000000..a9553646 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveMultiView.page @@ -0,0 +1,14 @@ + + +

TActiveMultiView

+ + +

+TActiveMultiView is the active counterpart to the original TMultiView control. +TActiveMultiView serves as a container for a group of TView controls, which can be retrieved by the Views property. Each view contains child controls. TActiveMultiView determines which view and its child controls are visible. At any time, at most one view is visible (called active). To make a view active, set ActiveView or ActiveViewIndex. Note, by default there is no active view. +TActiveMultiView is able to render itself on Callback when ActiveView or ActiveViewIndex properties are changed. +

+ + + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index ac972c6e..d5fe1360 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -65,9 +65,9 @@ TActiveButton control. See also the later part of the TActiveMultiView - represents a container for a group of TView controls, each of which is container for other controls. - At any time, at most one TView is visible. It's the active counterpart of TMultiView. + TActiveMultiView + represents a container for a group of TView controls, each of which is container for other controls. + At any time, at most one TView is visible. It's the active counterpart of TMultiView.
  • diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page new file mode 100644 index 00000000..6888ad78 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.page @@ -0,0 +1,37 @@ + + +

    TActiveMultiView Samples

    + + + +

    View 1

    +

    Please enter a memo:

    + +
    + + +
    + +

    View 2

    +

    Please choose a color:

    + + + + + +
    + + +
    + +

    View 3

    + +
    + +
    + + +
    +
    + +
    $Id$
    \ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php new file mode 100644 index 00000000..1a5dbed3 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveMultiView/Home.php @@ -0,0 +1,15 @@ +MultiView->ActiveViewIndex===2) + { + $this->Result1->Text="Your text input is: ".$this->Memo->Text; + $this->Result2->Text="Your color choice is: ".$this->DropDownList->SelectedValue; + } + } +} + +?> \ No newline at end of file -- cgit v1.2.3