Skip to main content

Resource Strings

Strings displayed in various message boxes, dialogs and control elements of Developer Express VCL products are stored as resources.

Each time a control needs a resource string for display, it calls the cxGetResourceString function. To replace default resource strings, use the cxSetResourceString procedure.

Resource strings for Developer Express VCL products are declared in separate unit files. Use the links below for information on resource strings available for specific products, and resource string identifiers:

ExpressBars

ExpressEditors

Example

The following code substitutes the Clear button’s caption with its German equivalent for all TdxBarDateCombo controls in the application. The resource string is identified by dxSBAR_DATECLEAR.

cxSetResourceString(@dxSBAR_DATECLEAR, 'Löschen');