Kbase P109524: How to find out the index of a particular fill-in widget defined with extents?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
How to find out the index of a particular fill-in widget defined with extents?
GOAL:
How to obtain the subscript value of an array element?
FACT(s) (Environment):
OpenEdge 10.x
Progress 9.x
Progress 8.x
FIX:
Use the Fill-in INDEX Attribute in order to get the index of a particular fill-in widget defined with extents: e.g.:
ON 'MOUSE-SELECT-CLICK' OF fill-in-name IN FRAME {&FRAME-NAME}
DO:
DEFINE VARIABLE vcFillinName AS CHARACTER NO-UNDO.
vcFillinName = SELF:NAME + "[":U + STRING(SELF:INDEX) + "]":U.
MESSAGE vcFillinName
VIEW-AS ALERT-BOX INFO BUTTONS OK.
END.