msc_movePanel()

You can use the function to move a panel to an arbitrary screen.

Synopsis

msc_movePanel(dyn_string sFrom, dyn_string sTo, string [sMainModuleName = "mainModule_"]);

Parameters

Parameter Description
sFrom The screen from which the panel will be moved.
sTo The screen to which the panel will be moved.
sMainModuleName The name of the main module. Default: "mainModule_"

Return value

-

Error

Description

You can use the function to move a panel to an arbitrary screen.

Example

main()

{

dyn_float df;

dyn_string ds;

ChildPanelOnCentralModalReturn("para/msc/msc_ScreenSelection.pnl", getCatStr("mscError", "screenSel"),

makeDynString(), df, ds);

if(df[1] == 1)

{

msc_movePanel(ds[1], ds[2]);

}

/* This code opens the window for moving the panel to an arbitrary monitor. The parameters of the msc_movePanel function are sFrom = this the monitor from which the panel is moved (1,2,3...), sTo = this is the monitor to which the panel will be moved (1,2,3...), sMainModuleName = "mainModule_" = the name of the main module */

}

Assignment

Administration of favourites

Availability

UI

See also

msc_moveToNextScreen(), msc_moveToPrevScreen()