protected function tnvExample_Change($strFormId, $strControlId, $strParameter)
{
$objItem = $this->tnvExample->SelectedItem;
if (is_dir($this->tnvExample->SelectedValue)) {
$this->pnlCode->Text = 'Current directory is <b>' . $this->tnvExample->SelectedItem->Name . '</b>. ' . 'Please select a file on the left';
} else {
$strCode = highlight_file($this->tnvExample->SelectedValue, true);
$this->pnlCode->Text = $strCode;
}
}