<i>Is there a way to catch a wxFocusEvent of, e.g. a wxTextCtrl, and instead select the control that used to have the focus, or select another control?</i>
Just call the SetFocus function of the control.
void DialogClass::OnButtonClick(wxCommandEvent &Event)
{
TextObj->SetFocus();
}
Just call the SetFocus function of the control.
void DialogClass::OnButtonClick(wxCommandEvent &Event)
{
TextObj->SetFocus();
}
No comments are included for this article. Submit a comment with your feedback/suggestions.
Click to View Printer Friendly Version