Unit findControl

Description

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

Overview

Classes, Interfaces, Objects and Records

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

Functions and Procedures

procedure Register;

Types

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

Constants

WM_USER_VISIBLE_CHANGED = WM_USER+1150;

Description

Functions and Procedures

procedure Register;
 

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

Constants

WM_USER_VISIBLE_CHANGED = WM_USER+1150;
 

Author


Generated by PasDoc 0.16.0.