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

NewC7.jpg

FIRSTFIELD( )

blk2blue.jpg

The FIRSTFIELD procedure returns the lowest 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:

LASTFIELD

PROP:NextField