From 511b94d7bce011a09522fe591dc931a41f69618e Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Mon, 25 Jun 2012 16:12:21 +0000 Subject: added quickstart example for TActiveListBox with multiple selection enabled --- .../Samples/TActiveListBox/Home.page | 26 ++++++++++++++++++++++ .../ActiveControls/Samples/TActiveListBox/Home.php | 5 +++++ 2 files changed, 31 insertions(+) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page index c14b88c6..218139a5 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.page @@ -105,4 +105,30 @@ Listbox causing validation: +

List Boxes in Multiple Selection Mode

+Use Ctrl + Mouse Click to change selection +
+ + + + + + + + +
+Multiple items can be selected together: + + + + + + + + +
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php index 5ec96613..795e3eca 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveListBox/Home.php @@ -31,6 +31,11 @@ class Home extends TPage $this->collectSelectionResult($sender,$this->SelectionResult); } + public function multiSelectionChanged($sender,$param) + { + $this->collectSelectionResult($sender,$this->MSelectionResult); + } + public function buttonClicked($sender, $param) { $data=array(); -- cgit v1.2.3