Progress
Language Reference


AUTO-ZAP Attribute

Specifies what happens to the existing contents of the widget when the user types new information into the widget.

Data Type: LOGICAL

Access: Readable/Writeable

Applies To: Browse cell, Combo-box, Fill-in

If AUTO-ZAP is TRUE, when the user begins typing in the field, the entire initial value is erased before the user’s text appears. If AUTO-ZAP is FALSE, text entered by the user is inserted into existing text at the current cursor position in the field.

You can set AUTO-ZAP only when the fill-in or cell has input focus (its widget handle is equal to the FOCUS handle). Otherwise, AUTO-ZAP is TRUE when the user tabs or back-tabs into the field, highlighting text in the field. (When the user selects all text in the field, the same effect occurs without setting the AUTO-ZAP attribute.) AUTO-ZAP is FALSE when the user enters the field with the mouse pointer, positioning the text cursor in the field.


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