PA_SetTextParameter

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_SetTextParameter (params; index; text; len)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
indexshortIndex of the parameter in params
textchar*New value
lenlongText size in bytes

Description

The routine PA_SetTextParameter sets the value of the index parameter in params to text.

Pass a pointer to the text buffer in text and its size in bytes in len .

This buffer is duplicated in the parameter and still belongs to the plug-in after the call.

The previous text in the parameter is disposed.

See Create a new plugin for a description of parameter accessors.

NOTE:

The first parameter starts at index 1

Depending on default settings or on previous calls to PA_UseMacCharacters or PA_UseANSICharacters, text may contain Macintosh or ANSI characters.

See Also

Create a new plugin.

Error Handling

None.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next