Event XbpCrt():setDisplayFocus Foundation

XbpCrt window receives the display focus.

:setDisplayFocus := {| uNIL1, uNIL2, self | ... }
:setDisplayFocus () --> self
xbeP_SetDisplayFocus (1048630)

This method returns the object executing the method (self).


The xbeP_SetDisplayFocus event is generated after the XbpCrt window receives display focus. Text oriented output (such as that performed using QOut() or @...SAY) occurs in the XbpCrt window that has display focus.


Within the callback code block or method :killDisplayFocus the functions SetAppFocus() or SetAppWindow() must not be called, be it directly or indirectly! Calling one of these functions in this situation (focus is lost) can disrupt the message stream of the presentation manager which can lead to a system halt in the worst case. Only after xbeP_SetDisplayFocus is returned by AppEvent() both functions may be called again.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.