Kbase P97671: How to put the first editable column of a browser in edit mode when the browser gets focused?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/8/2008 |
|
Status: Unverified
GOAL:
How to put the first editable column of a browser in edit mode when the browser gets focused?
GOAL:
How to start editing a specific browse column
FACT(s) (Environment):
Windows
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
Add ENTRY trigger for your browser with the following code:
ON ENTRY OF BROWSE-1 IN FRAME DEFAULT-FRAME
DO:
/* if Ship-Date is the first updatable column */
APPLY "entry" TO order.Ship-date IN BROWSE {&browse-name}.
/* RETURN NO-APPLY is needed to suppress the entry in last editable column if available from previous entry */
RETURN NO-APPLY.
END.