Returns true to indicate that values can be typed incrementally - and automatically completed - in the Object Inspector.
function AutoFill: Boolean; virtual;
virtual __fastcall Boolean AutoFill();
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!