setTextMode() public method

Sets the behavior mode of the TTextBox component.
public setTextMode ( $value )
Example #1
0
 protected function createMultiLineControl($container, $column, $record)
 {
     $value = $this->getRecordPropertyValue($column, $record);
     $control = new TTextBox();
     $control->setText($value);
     $control->setTextMode(TTextBoxMode::MultiLine);
     $control->setCssClass('multiline-textbox scaffold_input');
     $this->setNotNullProperty($container, $control, $column, $record);
     return $control;
 }