The method FindSpdcByCaption searches the set of descriptors for a descriptor having the caption Caption. If a descriptor exists which matches the specified name the index of this descriptor is returned (range 1 to NumSpdcs), otherwise the function returns a zero value. The search for the descriptor name is not case sensitive.
|