TBitArray::Find

Finds the first occurrence of the specified value (true/false) in the array, and returns the bit index.