Unit findControl

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

This unit contains the class TSearchBar which implements a Mozilla like search bar.

$Revision: 103 $

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TSearchBar This class implements a Mozilla like search bar

Types

TFindState = set of (fsFound, fsLoopAround);
TSearchBarSubControl = (...);
TSearchBarSubControls = set of TSearchBarSubControl;
TSearchEvent = procedure (sender: TObject; incremental,backwards: boolean) of object;

Description

Types

TFindState = set of (fsFound, fsLoopAround);
 
TSearchBarSubControl = (...);
 
Values
  • fscCloseButton: This is a close button at the left side
  • fscCaption: This is a label next to the close button and before the search edit
  • fscSelectLocation: This is a combobox next to the search edit
  • fscSearchForward: This is a forward search button next to the location combobox
  • fscSearchBackwards: This is a backward search button next to the forward one
  • fscHighlight: This is a highlight all button (which changes its down state)
  • fscStatus: This is a label showing the search result state
TSearchBarSubControls = set of TSearchBarSubControl;
 
TSearchEvent = procedure (sender: TObject; incremental,backwards: boolean) of object;

This event is called when something should be searched

Parameters
incremental
This is true when the new search continues an old one, e.g. it is called during typing for every pressed key
backwards
This is true when the search should be occur backwards, e.g. the user press shift+enter or the backward search button

Author

Last Modified

$Date: 2008-08-25 22:27:40 +0200 (Mo, 25 Aug 2008) $


Generated by PasDoc 0.11.0 on 2008-08-25 22:26:33