UtilsLib Xojo and Real Studio plugin

SetIndString Method

To set a string in a indexed STR# resource, use the SetIndString function.

*Note* this function is not a standard Toolbox function as there is no SetIndString in the MacOS toolbox

SetIndString(
   value as String,
   strListId as Integer,
   index as Integer) as Integer

Parameters

value
The data to put in the STR# resource
strListId
resource id of the STR# resource.
index
indentifies which string to get.

Returns

Integer

Remarks

returns error-code, 0 if there was no error.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa

    Unsupported Platforms:

  • Win32 - Windows
  • Linux x86

    See Also

    GlobalMethods Global