Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

INQUIRE: IOFOCUS Specifier

The IOFOCUS specifier asks if the indicated unit is the active window in a QuickWin application. This specifier is only available for Windows. It takes the following form:

IOFOCUS = iof

iof

Is a scalar default logical variable that is assigned one of the following values:

.TRUE.

If the specified unit is the active window in a QuickWin application

.FALSE.

If the specified unit is not the active window in a QuickWin application

If unit '*' is specified, the default is .FALSE.; otherwise, the default is .TRUE..

A value of .TRUE. causes a call to FOCUSQQ immediately before any READ, WRITE, or PRINT statement to that window.

If you use this specifier with a non-Windows application, an error occurs.