Index

(control)

o2ctrl_activate

boolean o2ctrl_activate(string $form_name, string $ctrl_name)

Activate the specified control of form.
Control activation depends on control type:

- combo-lookup: focus and open items list;
- all other controls: just focus


Parameters:
  1. $form_name
  2. $ctrl_name