ExampleForm::lblMessage_Click PHP Method

lblMessage_Click() protected method

protected lblMessage_Click ( $strFormId, $strControlId, $strParameter )
    protected function lblMessage_Click($strFormId, $strControlId, $strParameter)
    {
        // We will toggle between the two textbox messages so that we can show
        // off the dynamic rendering capability of the QImageLabel
        if ($this->lblMessage->Text == $this->txtMessage1->Text) {
            $this->lblMessage->Text = $this->txtMessage2->Text;
        } else {
            $this->lblMessage->Text = $this->txtMessage1->Text;
        }
    }