Index

(control)

o2ctrl_set_width

boolean o2ctrl_set_width(string $form_name, string $ctrl_name, integer $width)

Set control width to $width and preserve it untill next call to function.
If $width is avaluated to 0 custom width sizing is disabled for control.


Parameters:
  1. $form_name
  2. $ctrl_name
  3. $width