* Toolbar button click IF TYPE("_SCREEN.ActiveForm.ActiveControl.Name") = "C" * Ok there is a control involved IF PEMSTATUS(_SCREEN.ActiveForm.ActiveControl,"SetFocus",5) * The active control has a SetFocus method so call it _SCREEN.ActiveForm.ActiveControl.SetFocus() ENDIF ENDIFThe reason this works is because calling the control with focus' setfocus makes the control lose focus and then gain it back again. The side effect loss of focus will cause the control to update the buffer with the changes.