blob: 4b687907ac68183de817ccdc5cebeeeecab5715c (
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
26
|
<?php
class RadioButtonListTest extends TPage
{
public function radChange($sender,$param){
$choice = 'Choice : ';
switch($this->rad_button_list->SelectedValue){
case 'yes':
$choice.='Yes :-)';
break;
case 'no':
$choice.='No :-(';
break;
case 'whynot':
$choice.='Why not ???';
break;
}
$this->label->Text = $choice;
}
public function action($sender,$param){
$this->label->Text = 'Action...';
}
}
|