protected function btnEdit_Click($strFormId, $strControlId, $strParameter)
{
$this->intEditPersonId = $strParameter;
$objPerson = Person::Load($strParameter);
$this->txtFirstName->Text = $objPerson->FirstName;
$this->txtLastName->Text = $objPerson->LastName;
// Let's put the focus on the FirstName Textbox
QApplication::ExecuteJavaScript(sprintf('qcodo.getControl("%s").focus()', $this->txtFirstName->ControlId));
}