blob: 94cd8aedda587533f95d9df5916db6210cbd402a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
Prado::using('System.Web.UI.ActiveControls.*');
class Ticket507 extends TPage
{
public function onLoad($s)
{
//the following fixed the static declaration on the above
$this->list1->SelectionMode="Multiple";
}
function list1_callback($sender, $param)
{
$values = $sender->getSelectedValues();
$this->label1->setText("Selection: ".implode(', ', $values));
}
function enable_list()
{
$this->list1->enabled = true;
}
}
?>
|