Purpose

.AutoCompleteEntry allows you to specify for certain objects if and how the user is offered remembered entries as they type data in.
 

Syntax

Setting:          ObjectReference.AutoCompleteEntry = Value

Retrieving:
    Variable
= ObjectReference.AutoCompleteEntry
 

Operation

ObjectReference is the Tag Name of the object
Value
is the setting for the property (AutoEntry, AutoSuggest, Off)
Variable is an alphanumeric scratch variable

 

Remarks

The default value is OFF.

T
his feature is not supported for password fields.

For edit boxes, the list of remembered items is stored in the Windows Registry of the Windows Client machine in a per-Windows user, per-PIV file, per object key.

For combo boxes, the list used for auto-completion is the combo box list itself.  User selections are not remembered.

AutoEntry causes an item that matches the data entered so far into the control to be displayed in the control.  As entered characters are edited, so the proffered item may change.

AutoSuggest opens a window with entries matching the data entered so far. The user can select a displayed entry by clicking the desired entry, or navigating the list with arrow keys or moving the scroll thumb on the list scroll bars (if visible) and pressing <Enter>. The size of the window can be adjusted by dragging its bottom right corner.

Off turns off the .AutoCompleteEntry feature for the object.

The user controls the maximum number of items remembered for each object in the Auto Complete Settings section, set via the PROIV Application option on Default Properties.  If a value n is set, only the last n unique items will be remembered.  Older items will be forgotten as new ones take their place.  If the value of n is reduced, the excess remembered items are discarded.  The same section in the current PIV can be used to clear remembered entries for the current Windows user and PIV file.  The user can also override the developer's runtime settings for each object that has AutoComplete turned on by setting a global default (for the current PIV file) for the AutoComplete property of all objects.
 

Example
 

 

Comment on this topic

Topic ID: 510036