Skip to main content

TcxLocalizer.LoadFromResource(THandle) Method

Reads localized strings from a specified RES file into the localization component’s cache.

Declaration

procedure LoadFromResource(AHandle: THandle);

Parameters

Name Type
AHandle THandle

Remarks

Call this method if a RES file is not compiled to an executable file, but to a DLL. This method is used as an alternate to the Active property.

AHandle specifies the handle of the RES file built with the Localizer Editor.

Note

Starting from Build v2011 vol 1.7, there is no need to call the LoadFromResource method if the Active property is set to True.

See Also