DesignEditors.TPropertyEditor.AutoFill

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AutoFill: Boolean; virtual;

C++

virtual bool __fastcall AutoFill();

Properties

Type Visibility Source Unit Parent
function public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TPropertyEditor

Description

Returns true to indicate that values can be typed incrementally - and automatically completed - in the Object Inspector.

If GetAttributes returns paValueList, AutoFill is called to verify that automatic typing completion is permitted. If AutoFill returns true, the Object Inspector uses the values provided by GetValues to fill in partially typed entries. For example, if the legal values for a property are prSmall and prLarge, the user can type "prS" and the Object Inspector automatically fills in "prSmall."

AutoFill always returns true. But descendant property editors can override AutoFill to disable automatic completion of property values.

See Also