Kbase P4188: How to tell in which browse column the cursor is
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
How to tell in which browse column the cursor is
FIX:
Add a trigger like the following:
ON F3 OF myBrowse ANYWHERE DO:
MESSAGE SELF:NAME SELF:TYPE VIEW-AS ALERT-BOX.
RETURN NO-APPLY.
END.
The idea is that SELF:NAME will give you the information you need.
Note the ANYWHERE clause.
Also, note that the above trigger fires any time you press F3, that is: even when you are not inside an enabled browse cell. However, you can tell easily, as SELF:TYPE returns FILL-IN when you are inside an enabled browse cell, it returns BROWSE if focus is anywhere else in the browse.