From 2f36ce50b85cf0d02174464356e6636d14f4c19a Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 2 Apr 2006 00:23:25 +0000 Subject: Added TMultiView tutorial and demo. --- .../protected/pages/Controls/MultiView.page | 37 ++++++++++++++++++++++ .../protected/pages/Controls/Standard.page | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/Controls') diff --git a/demos/quickstart/protected/pages/Controls/MultiView.page b/demos/quickstart/protected/pages/Controls/MultiView.page index 8c21bbf5..7e566181 100644 --- a/demos/quickstart/protected/pages/Controls/MultiView.page +++ b/demos/quickstart/protected/pages/Controls/MultiView.page @@ -3,4 +3,41 @@
+TMultiView serves as a container for a group of TView controls, which can be retrieved by the Views property. Each view contains child controls. TMultiView 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. +
++To add a view to TMultiView, manipulate the Views collection or add it in template as follows, +
++TMultiView responds to the following command events to manage the visibility of its views. +
++Upon postback, if the active view index is changed, TMultiView will raise an OnActiveViewChanged event. +
+ ++The Hangman game is a typical use of TMultiView. The following example demonstrates another usage of TMultiView. +
+ +