Function GetEnableEvents() Foundation
Determines if AppEvent() or Inkey() is used by the Get system.
GetEnableEvents( [<lToggle>] ) --> lUseAppEvent
When GetEnableEvents() is called without an argument, it returns the current setting as a logical value. The value .T. (true) indicates that the function AppEvent() is used in the Get system, and .F. (false) indicates that Inkey() is used. If <lToggle> is passed, the setting is made with this value and the previous value is returned.
Keyboard reading can be done by Inkey() or by AppEvent() in the Xbase++ Get system. Inkey() is a compatibility function and recognizes no mouse events. Using GetEnableEvents(), you can choose between either function. At the first call to ReadModal() or READ, GetEnableEvents() is called with the return value of SetMouse() as its parameter. This means that if SetMouse(.T.) occurs before the first execution of READ or ReadModal(), mouse events are handled by the Get system.
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.