TdxSpreadSheetContainers.FindByName(string,TdxSpreadSheetContainer) Method
Returns a stored floating container by the specified name.
Declaration
function FindByName(const AName: string; out AContainer: TdxSpreadSheetContainer): Boolean;
Parameters
Name | Type |
---|---|
AName | string |
AContainer | TdxSpreadSheetContainer |
Returns
Type |
---|
Boolean |
Remarks
This function iterates through all stored floating containers and compares their Name property values to the AName parameter (string comparison operations are case-insensitive). If the collection has at least one container with the specified name, the FindByName function returns True; otherwise – False. Use the AContainer parameter to retrieve the first container with the matching name.
Note
The Formula Bar control associated with a spreadsheet control calls the FindByName function internally to search containers by their names.
See Also