FloatRight ("contains" or "begins with" flag)

Top  Previous  Next

 

 

FloatRight

BYTE

The FloatRight property determines whether the FilterLocator applies the search value to the entire field (field contains search value) or only to the leftmost field positions (field begins with search value). A value of one (1 or True) applies the "contains" test; a value of zero (0 or False) applies the "begins with" test.

The FilterLocatorClass does not initialize the FloatRight property, therefore FloatRight defaults to zero.

Implementation:

The UpdateWindow method implements the action specified by the FloatRight property.

Example:

A FilterLocator searching for "ba" returns:

 

FloatRight=False

FloatRight=True

 

Bain

Bain

 

Barber

Barber

 

Bayert

Bayert

 

 

Dunbar

 

 

Suba

See Also:     UpdateWindow