ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
EnableAutoComplete Function

Allows you to turn on auto complete features of Windows 2000 or IE5 for TEdit fields.

Syntax
Pascal
function EnableAutoComplete(Edit: TCustomEdit; FileSystem: Boolean; URL: Boolean): Boolean; overload;

Use this function to turn on the auto complete feature for TEdit fields. Set FileSystem to true if you want auto completion for file system path. Set URL to true if you want to turn on auto completion for HTTP URL's.  

 

This example turns on auto completion for a TEdit control PathEdit on the current form:

EnableAutoComplete(PathEdit, True, False);
Copyright (c) 2011. All rights reserved.