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

LAST-FORM attribute

(Windows only; GUI for .NET only)
The object reference for the last .NET Progress.Windows.IForm or ABL window FormProxy (Progress.Windows.FormProxy) object in the list of all valid OpenEdge form objects created in the current ABL session.
Data type: Progress.Windows.IForm interface
Access: Read-only
Applies to: SESSION system handle
Once you get the last object reference in the list, you can use the PrevForm property in the Progress.Windows.IForm interface to get the previous entry in the list of OpenEdge form object references.
Note: To obtain the last class-based object in the list of all valid ABL and .NET objects created in the current ABL session, use the LAST-OBJECT attribute.
If you instantiate a Progress.Windows.IForm in a non-GUI ABL session, the object does not appear in the list of OpenEdge form objects, but only in the list of valid class-based objects.

See also

FIRST-FORM attribute, FIRST-OBJECT attribute, LAST-OBJECT attribute, PrevForm property, Progress.Windows.FormProxy class, Progress.Windows.IForm interface