Navigation:  Language Reference > 13 - Built-in Functions > ====== LASTFIELD (return last window control) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

LASTFIELD( )

blk2blue.jpg

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

PROP:NextField