LASTFIELD (return last window control)

Top  Previous  Next

 

LASTFIELD( )

The LASTFIELD procedure returns the highest field number in the currently active window (or REPORT) as specified by SETTARGET. This does not include any controls in a TOOLBAR or MENUBAR.

Return Data Type:

SIGNED

Example:

DISABLE(FIRSTFIELD(),LASTFIELD())    !Dim all control fields

 

See Also:

FIRSTFIELD