Kbase 43709: How to Get All the Fill-In (or Object) Names in a SmartDataViewer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Solution ID: P13709
GOAL:
How to Get All the Fill-In (or Object) Names in a SmartDataViewer
FACT(s) (Environment):
Windows
Progress 9.x
FIX:
DEFINE VARIABLE iLoop AS INTEGER NO-UNDO.
DEFINE VARIABLE iNumEntries AS INTEGER NO-UNDO.
DEFINE VARIABLE hField AS HANDLE NO-UNDO.
DEFINE VARIABLE cFieldHandles AS CHARACTER NO-UNDO.
ASSIGN cFieldHandles = DYNAMIC-FUNCTION('getAllFieldHandles' IN /*Viewerhandle*/)
iNumEntries = NUM-ENTRIES(cFieldHandles).
DO iLoop = 1 TO iNumEntries:
ASSIGN hField = WIDGET-HANDLE(ENTRY(iLoop,cFieldHandles)).
IF hField:TYPE = "FILL-IN" /*or other widget needed*/ THEN
MESSAGE hField:NAME.
END.