LlDesignerSetOptionString

Syntax:

INT LlDesignerSetOptionString (HLLJOB hJob, INT nMode, LPCTSTR pszValue);

Task:

Defines various settings when the Designer is open.

Parameter:

hJob: List & Label Job-Handle

nMode: The following values are possible as function index:

LL_­DESIGNEROPTSTR_­PROJECTFILENAME

The name of the project currently opened. If you have created a new file through an action, it can be named in this way. Otherwise corresponds to a "Save as…".

LL_­DESIGNEROPTSTR_­ WORKSPACETITLE

Assigns the window title in the Designer. You can use the format placeholder %s within the text to show the project name.

LL_­DESIGNEROPTSTR_­ PROJECTDESCRIPTION

Assigns the project description that will also be shown in "Open file" dialog.

pszValue: new value

Return value:

Error code

See also:

LlDesignerGetOptionString