Skip to main content

TdxSpreadSheetFunctionInfo.UpdateInfo(TdxSpreadSheetFormatSettings) Method

Initializes the Name field to the uppercased public name of the function signature.

Declaration

procedure UpdateInfo(AFormatSettings: TdxSpreadSheetFormatSettings);

Parameters

Name Type
AFormatSettings TdxSpreadSheetFormatSettings

Remarks

This procedure converts a resource string accessible via the NamePtr field, to uppercase and assigns the result to the Name field. The UpdateInfo procedure calls the dxSpreadSheetUpperCase function to convert the resource string if nil is passed as the AFormatSettings parameter; otherwise – UpdateInfo relies on functionality of the accepted format settings.

Note

The TdxSpreadSheetFunctionsRepository.Add procedure calls the UpdateInfo procedure internally for a newly created function signature. The TdxSpreadSheetFunctionsRepository.TranslationChanged procedure calls UpdateInfo for all stored function signatures to reflect any changes made to resource strings. An UpdateInfo procedure call has no effect if the NamePtr field value is nil.

See Also