Skip to main content

TdxGalleryGroups.FindByCaption(string,TdxGalleryGroup) Method

Searches the collection for a group with a specified caption.

Declaration

function FindByCaption(const ACaption: string; out AGroup: TdxGalleryGroup): Boolean;

Parameters

Name Type
ACaption string
AGroup TdxGalleryGroup

Returns

Type
Boolean

Remarks

This function returns the first collection item (a gallery group), whose Caption property value equals the ACaption parameter value. If the matching group is found, it is referenced via the AGroup parameter and the function returns True. Otherwise, False is returned.

See Also