Sign in Join
FPDoc Onlineexperiment

SetActiveCollation function

In unit fpwidestring

Set the active collation for the current thread.

Declaration

pascal
function SetActiveCollation(const AName: UnicodeString): Boolean

Arguments

AName

Name with which the collation was registered.

Function result

True if the collation was successfully set.

Description

SetActiveCollation sets the collation used in the current thread of the application. This can be done using the name of the collation ( AName) as registered or in the unicodedata unit or using the actual collation data ( ACollation).

Errors

If the collation AName was not found, or ACollation is nil, then False is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.