Table of Contents

TAcceptLocaleProc Anonymous method

Callback procedure type used to filter or modify locales during negotiation.

Remarks

Locale: The locale being evaluated. You can modify this parameter to replace it with a different locale if needed. Accept: Set this parameter to False to reject the current locale and continue evaluating the next candidates.

Syntax

Unit: Sparkle.Middleware.Locale

TAcceptLocaleProc = reference to procedure(var Locale: ILocale; var Accept: Boolean);