[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'FileCtrl' (#lcl)

TCustomFileListBox

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TCustomFileListBox : base type for TFileListBox - a tool for listing files for selection

Declaration

Source position: filectrl.pp line 44

type TCustomFileListBox = class(TCustomListBox) end;

protected

  procedure DoChangeFile; virtual;

  

DoChangeFile - method to change a file selection: calls the OnChange event handler

  procedure Loaded; override;

  

  function IndexOfFile();

  

IndexOfFile - number of the selected file in the list of files

  procedure KeyUp(); override;

  

Invokes the OnKeyUp handler.

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Click; override;

  

Invokes the OnClick and ActionLink.Execute handlers.

  procedure UpdateFileList; virtual;

  

UpdateFileList - brings the list of files up to date, taking into account any changes

  property Drive: Char; [rw]

  

The Drive on which the file is located (applies to Windows systems)

  property Directory: string; [rw]

  

The Directory or Folder in which the file is located

  property FileName: string; [rw]

  

FileName - the name of the selected file

  property FileType: TFileType; [rw]

  

FileType - the type or attributes of the selected file

  property Mask: string; [rws]

  

Specifies which files will be shown

  property OnChange: TNotifyEvent; [rw]

  

OnChange - event handler for a change in the file list or the selection

  property Sorted: Boolean;

  

Determines whether the list entries are sorted.

Inheritance

TCustomFileListBox

  

TCustomFileListBox : base type for TFileListBox - a tool for listing files for selection

|

TCustomListBox

  

The base class for TListBox.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.