A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
785 B

<?php
class QListBox extends QListBoxBase {
///////////////////////////
// ListBox Preferences
///////////////////////////
// Feel free to specify global display preferences/defaults for all QListBox controls
protected $strCssClass = 'listbox';
// protected $strFontNames = QFontFamily::Verdana;
// protected $strFontSize = '12px';
// protected $strWidth = '250px';
// For multiple-select based listboxes, you can define the way a "Reset" button should look
protected function GetResetButtonHtml() {
$strToReturn = sprintf(' <a href="#" onclick="__resetListBox(%s, %s); return false;" class="listboxReset">%s</a>',
"'" . $this->Form->FormId . "'",
"'" . $this->strControlId . "'",
QApplication::Translate('Reset'));
return $strToReturn;
}
}
?>