Skip to main content

addObjectDisplayAtShutdown

Keeps the current control set displayed on the pad after it is disconnected.

wizCtl.addObjectDisplayAtShutdown(id)
ParameterDescription
id

String that identifies the object. (Optional)
Cannot be any of the values reserved for text or button objects: who, why, ok, clear, cancel, delete.

Return values
The added object. Throws an exception if an error occurs.

The following example shows the pad model name, keeps it on the display and disconnects the pad:

await wizCtl.reset(true);
wizCtl.addObjectText("txt1", "centre", "top", wizCtl.padModelName());
wizCtl.addObjectDisplayAtShutdown("txt");
await wizCtl.display(false);
await wizCtl.padDisconnect();