Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : FIRST-CHILD attribute
 

FIRST-CHILD attribute

The handle of the first widget created in the container widget or the current session.
Data type: HANDLE
Access: Read-only
Applies to: DIALOG-BOX widget, FIELD-GROUP widget, FRAME widget, MENU widget, SUB-MENU widget, WINDOW widget, SESSION system handle
You can use the FIRST-CHILD attribute to find the first entry in a list of all frames and dialog boxes in a window, all field groups in a frame or dialog box, all widgets in a field group, all menu items in a menu or submenu, or all windows in an ABL session (SESSION system handle). After finding the first entry, you can find the remaining entries in the list by using each widget's NEXT-SIBLING attribute.