XWPString implements setup string objects. Even though the XWPString class is designed to store setup strings, you can invoke setup strings on an XWPString object itself, as with any other object.

In addition to the setup strings supported by the WPObject class, the XWPString class supports the following strings:

SETUPSTRING=string

The setup string to be stored in the string object. string must be encoded in order not to contain characters that are forbidden in WPS setup string values. The default is an empty string.

DEFAULTOBJECT={objectid|filename|*handle|NONE}

Sets or clears the default object stored in the string object. The value must be one of the following: The default for a string object is to have no default object (NONE).

CONFIRMINVOCATION={YES|NO}

Corresponds to the "Confirm invocation" setting on the "String" notebook properties page. The default is YES.

NOSTRINGPAGE={YES|NO}

If YES, the string object's properties notebook does not display the "String" page. This might be useful if you create string objects from your own application and want to prevent the user from accidentally modifying a carefully designed setup string. The default is NO.