Пример #1
0
 function DrawInit()
 {
     $this->InitList();
     ListBox::DrawInit();
 }
 function ListBox($Key, $Name = '', $DefaultValue = '', $NumRows = '1', $Parameters = '')
 {
     //
     //	$Key is the Identifier of the ListBox you want to create.
     $this->LoadData($Key);
     $NewList = new ListBox($Name, $DefaultValue, $NumRows, $Parameters);
     for ($Indx = 0; $Indx < count($this->Labels); $Indx++) {
         $NewList->AddEntry($this->Labels[$Indx], $this->Values[$Indx]);
     }
     return $NewList;
 }