Kbase P96179: How to know what is the entry widget name
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/11/2005 |
|
Status: Unverified
GOAL:
How to know what is the entry widget handle?
GOAL:
How to use the LAST-EVENT system handle to get the entry object name?
GOAL:
What is the WIDGET-ENTER attribute?
FIX:
The WIDGET-ENTER attribute for the LAST-EVENT system handle returns the object name where the the focus is going to be set.
Example:
In the trigger LEAVE of a fill-in write:
MESSAGE LAST-EVENT:WIDGET-ENTER VIEW-AS ALERT-BOX.
If the focus is in that fill-in and the TAB key is pressed, the message will show the widget name of the next object in the tab order.
If another widget is selected with the mouse, WIDGET-ENTER will show the name of the selected widget