Progress
Language Reference


MULTITASKING-INTERVAL Attribute

How often Progress filters events between itself and other Windows applications.

Data Type: INTEGER

Access: Readable/Writeable

Applies To: SESSION System Handle

The value of the MULTITASKING-INTERVAL attribute determines how often Progress internally filters events (messages) between itself and other Windows applications. As Progress filters these events more often, it executes procedures less efficiently, but allows other windows applications more opportunity to execute. Adjusting the internal event filter is particularly useful during background processing, such as report generation.

The default value, zero, tells Progress never to filter events internally, giving Progress applications maximum access to execution resources. This is perfectly adequate for interactive Progress applications that block for input often, giving other applications enough opportunity to execute.

For values greater than zero, the lower the value, the more often Progress internally filters events, giving other applications greater opportunity to execute, but slowing down Progress execution. However, similar to a TRUE value for the IMMEDIATE-DISPLAY attribute, low non-zero values also cause Progress to refresh the display more often, potentially providing crisper display interaction. Low non-zero values also provide better interoperability with other applications, for example, using Dynamic Data Exchange (DDE).

The maximum value you can set is 9999. In general, set this attribute greater than zero only for code segments that perform lengthy background operations, and reset it to zero before the application blocks for interactive input (for example, executes a WAIT-FOR or UPDATE statement). This attribute provides the same functionality as the MultitaskingInterval parameter in the current environment, which might be the Registry (Windows only) or an initialization file. For more information on environments, see the chapter on user interface environments in the Progress Client Deployment Guide.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095