public function SetFocus() { QApplication::ExecuteJavaScript(sprintf('qc.getW("%s").focus()', $this->strControlId)); }