RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TSearchDirection Enumeration

Indicates the direction in which to search for the nearest item to a specified item or point.

Pascal
TSearchDirection = (
  sdLeft,
  sdRight,
  sdAbove,
  sdBelow,
  sdAll
);
C++
enum TSearchDirection {
  sdLeft,
  sdRight,
  sdAbove,
  sdBelow,
  sdAll
};

ComCtrls

TSearchDirection defines the following search directions:

Value 
Meaning 
sdLeft  
Look to the left of a specified item.  
sdRight  
Look to the right of a specified item.  
sdAbove  
Look above a specified item.  
sdBelow  
Look below a specified item.  
sdAll  
Look in the order that items appear in the Items property.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!