SECScriptHostDoc::SetMode

BOOLSECScriptHostDoc::SetMode(ScriptModenewMode)

Set new form scripting mode

Defined in: ScriptHostDoc.cpp

Return Value

TRUE on successful mode change, FALSE on failure

Parameters

newMode

can be SM_RUN for run mode or SM_DESIGN for edit mode

Comments

Use this member to change the runtime form mode from edit to run and back